Is is possible to put two actions in the controller with the same name and same no. of parameters and parameter type as shown below.
[HttpGet]
public ActionResult Index(int x)
{
return View();
}
[HttpPost]
public ActionResult Index(int a)
{
return View();
}