Since you cannot have two methods with the same name and signature you have to use the
ActionName
attribute: [HttpGet]
public ActionResult Index()
{
Some Code--Some Code---Some Code
return View();
}
[HttpPost]
[ActionName("Index")]
public ActionResult IndexPost()
{
Some Code--Some Code---Some Code
return View();
}
such an amazing blog. If you want to buy table cover price then click here.
ReplyDelete