Defining ASP.NET Core Controller action constraint to match the correct action
When developing Web Api controllers many times we have situations where we need to define similar arguments in different methods. For example, a controller that has 2 methods that query users either by last name or date of birth. The name of the method is different but they both will receive a single argument of type string. When the routing engine...