overriding Method asp.net mvc
- by parminder
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