Beispiel #1
0
 public IActionResult ConditionCustomerRegisterInsert(CustomerReminderModel.ConditionModel.AddCustomerRegisterConditionModel model)
 {
     if (ModelState.IsValid)
     {
         _customerReminderViewModelService.InsertCustomerRegisterConditionModel(model);
         return(new NullJsonResult());
     }
     return(ErrorForKendoGridJson(ModelState));
 }
        public async Task <IActionResult> ConditionCustomerRegisterInsert(CustomerReminderModel.ConditionModel.AddCustomerRegisterConditionModel model)
        {
            if (ModelState.IsValid)
            {
                await _customerReminderViewModelService.InsertCustomerRegisterConditionModel(model);

                return(new JsonResult(""));
            }
            return(ErrorForKendoGridJson(ModelState));
        }