Can you overload controller methods in ASP.NET MVC?
Asked 07 September, 2021
Viewed 877 times
  • 62
Votes

I'm curious to see if you can overload controller methods in ASP.NET MVC. Whenever I try, I get the error below. The two methods accept different arguments. Is this something that cannot be done?


  

The current request for action 'MyMethod' on controller type 'MyController' is ambiguous between the following action methods:

18 Answer