public ActionResult Edit(int id, FormCollection coll) { var model = TemplateDemoModel.GetModell(id); if (this.TryUpdateModel(model)) { return(RedirectToAction("Index")); } return(View(model)); }
public ActionResult Edit(int id, FormCollection coll) { var model = TemplateDemoModel.GetModell(id); if (this.TryUpdateModel(model)) { return(new EmptyResult()); } return(PartialView(model)); }
public ActionResult Edit(int id) { return(View(TemplateDemoModel.GetModell(id))); }
public ActionResult DetailListPartial(int id) { var item = TemplateDemoModel.GetModell(id); return(PartialView(item.PurchasesList)); }
public ActionResult Edit(int id) { this.LongTimeDBAccess(); return(PartialView(TemplateDemoModel.GetModell(id))); }