Esempio n. 1
0
 public ActionResult FillCashReceiptSearchGrid(CashReceiptModel.CashReceiptSearchModel model)
 {
     try
     {
         return(Json((new CashReceiptModel()).FillCashReceiptSearchGrid(model), JsonRequestBehavior.AllowGet));
     }
     catch (Exception ex)
     {
         return(Json(new { error = ex.Message }, JsonRequestBehavior.AllowGet));
     }
 }
Esempio n. 2
0
 public ActionResult BuildPaganationCashReceiptList(CashReceiptModel.CashReceiptSearchModel model)
 {
     try
     {
         return(Json(new { NOP = (new CashReceiptModel()).BuildPaganationCashReceiptList(model) }, JsonRequestBehavior.AllowGet));
     }
     catch (Exception ex)
     {
         return(Json(new { error = ex.Message }, JsonRequestBehavior.AllowGet));
     }
 }