Exemple #1
0
 // GET: CRMOrderReceiptManagement
 public ActionResult Index()
 {
     try
     {
         OrderReceiptManagementViewModels model = new OrderReceiptManagementViewModels();
         return(View(model));
     }
     catch (Exception ex)
     {
         NSLog.Logger.Error("OrderReceiptManagementIndex: ", ex);
         return(new HttpStatusCodeResult(400, ex.Message));
     }
     //return View();
 }
Exemple #2
0
 public ActionResult Search(OrderReceiptManagementViewModels model)
 {
     try
     {
         var listData = _factory.GetListData();
         model.ListItem = listData;
         model.ListItem.ForEach(x => x.CustomerEmail = MarkEmailView(x.CustomerEmail));
     }
     catch (Exception e)
     {
         NSLog.Logger.Error("OrderReceiptManagementSearch: ", e);
         return(new HttpStatusCodeResult(400, e.Message));
     }
     return(PartialView("_ListData", model));
 }