How to differentiate endpoints based on parameters? - C#