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