Example #1
0
 public IActionResult ConditionCustomerTagInsert(CustomerReminderModel.ConditionModel.AddCustomerTagConditionModel model)
 {
     if (ModelState.IsValid)
     {
         _customerReminderViewModelService.InsertCustomerTagConditionModel(model);
         return(new NullJsonResult());
     }
     return(ErrorForKendoGridJson(ModelState));
 }
        public async Task <IActionResult> ConditionCustomerTagInsert(CustomerReminderModel.ConditionModel.AddCustomerTagConditionModel model)
        {
            if (ModelState.IsValid)
            {
                await _customerReminderViewModelService.InsertCustomerTagConditionModel(model);

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