Is there a way to include two Get methods with different names but without any input parameters in a single controller in ASP.NET MVC 4 Web API?
For example, I want to have two GetBookXXX methods – one returning a list with only the book titles and the other returning a list with all book details (title, author, ISBN, etc). The approach I have seen so far is to use two separate controllers, but I would prefer to have a single one and not duplicating the plumbing code twice.
Thanks,