1
Follows the code:
Example 1 :
public async System.Threading.Tasks.Task<ActionResult> Index()
{
return View();
}
Example 2:
public ActionResult Index()
{
return View();
}
Please explain the difference between the 2 with more details possible with get
and post
.