public ActionResult Index() { var model = new OrderViewModel { Orders = svc.GetOrders(User.Identity.GetUserId()) }; //make sure the back button on the edit page reloads the index page. Response.Cache.SetNoStore(); return(View(model)); }
public ActionResult Index() { var model = new OrderViewModel { Orders = svc.GetOrders(User.Identity.GetUserId()) }; //make sure the back button on the edit page reloads the index page. Response.Cache.SetNoStore(); return(View(model)); }