Пример #1
0
 public ActionResult GridViewDetailUpdatePartial(APIAccount account, int accountOrderID)
 {
     ViewData["AccountOrderID"] = accountOrderID;
     if (ModelState.IsValid)
     {
         AccountOrderModelList.UpdateAccount(account);
     }
     return(PartialView("_AccountDetailGridViewPartial", AccountOrderModelList.GetAccountsByAccountOrder(accountOrderID)));
 }
Пример #2
0
 public ActionResult GridViewDetailDeletePartial(int ID, int accountOrderID)
 {
     ViewData["AccountOrderID"] = accountOrderID;
     AccountOrderModelList.RemoveAccountByID(ID);
     return(PartialView("_AccountDetailGridViewPartial", AccountOrderModelList.GetAccountsByAccountOrder(accountOrderID)));
 }
Пример #3
0
 public ActionResult AccountDetailGridViewPartial(int accountOrderID)
 {
     ViewData["AccountOrderID"] = accountOrderID;
     return(PartialView("_AccountDetailGridViewPartial", AccountOrderModelList.GetAccountsByAccountOrder(accountOrderID)));
 }