overriding Method asp.net mvc

Posted by parminder on Stack Overflow See other posts from Stack Overflow or by parminder
Published on 2010-04-24T06:55:01Z Indexed on 2010/04/24 7:03 UTC
Read the original article Hit count: 318

Filed under:
|
|

Hi Experts,

Can I override an ActionResult method. Say I have a method Index in AccountController like this

public ActionResult Index() {

return View(); }

Can I have one more method with same name but with differnt parameters like public ActionResult Index(int userid) {

return View(); }

what will be the entries in the global.asax

Regards Parminder

© Stack Overflow or respective owner

Related posts about asp.net-mvc

Related posts about ASP.NET