I wrote the following function. It returns an empty dictionary when it should not. The code works on the command line without function. However I cannot see what is wrong with the function, so I have
What would be a valid regex for a MVC route constraint passing a bool?For example, I have the below route: