public ActionResult GridViewDetailUpdatePartial(APIAccount account, int accountOrderID) { ViewData["AccountOrderID"] = accountOrderID; if (ModelState.IsValid) { AccountOrderModelList.UpdateAccount(account); } return(PartialView("_AccountDetailGridViewPartial", AccountOrderModelList.GetAccountsByAccountOrder(accountOrderID))); }
public ActionResult GridViewDetailDeletePartial(int ID, int accountOrderID) { ViewData["AccountOrderID"] = accountOrderID; AccountOrderModelList.RemoveAccountByID(ID); return(PartialView("_AccountDetailGridViewPartial", AccountOrderModelList.GetAccountsByAccountOrder(accountOrderID))); }
public ActionResult AccountDetailGridViewPartial(int accountOrderID) { ViewData["AccountOrderID"] = accountOrderID; return(PartialView("_AccountDetailGridViewPartial", AccountOrderModelList.GetAccountsByAccountOrder(accountOrderID))); }