Exemplo n.º 1
0
 public ActionResult FillInvoiceSearchGrid(InvoiceModel.InvoiceSearchModel model)
 {
     try
     {
         return(Json((new InvoiceModel()).FillInvoiceSearchGrid(model), JsonRequestBehavior.AllowGet));
     }
     catch (Exception ex)
     {
         return(Json(new { error = ex.Message }, JsonRequestBehavior.AllowGet));
     }
 }
Exemplo n.º 2
0
 public ActionResult BuildPaganationInvoiceList(InvoiceModel.InvoiceSearchModel model)
 {
     try
     {
         return(Json(new { NOP = (new InvoiceModel()).BuildPaganationInvoiceList(model) }, JsonRequestBehavior.AllowGet));
     }
     catch (Exception ex)
     {
         return(Json(new { error = ex.Message }, JsonRequestBehavior.AllowGet));
     }
 }