Can you overload controller methods in ASP.Net MVC?

Posted by Eric Brown on Stack Overflow See other posts from Stack Overflow or by Eric Brown
Published on 2009-01-12T20:20:20Z Indexed on 2010/05/30 9:12 UTC
Read the original article Hit count: 289

Filed under:
|
|
|
|

Im 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 arguements. Is this something that cannot be done?

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

© Stack Overflow or respective owner

Related posts about c#

Related posts about asp.net-mvc