Is it possible to have multiple Get methods with the same number of parameters? For example, I would like to have a Get(int) and a Get(string). I've tried experimenting with this, but it always seems to hit the Get(string) method and never the one with the int. So is it possible to make these two distinguishable?
Routeattribute to the overloaded methods to define a different URL signature.Getmethod itself will not be used by developers(only in tests maybe). So I think more descriptive name will be more readable approach in case of API controller's method