Exemplo n.º 1
0
 public IActionResult ConditionCustomCustomerAttributeInsert(CustomerReminderModel.ConditionModel.AddCustomCustomerAttributeConditionModel model)
 {
     if (ModelState.IsValid)
     {
         _customerReminderViewModelService.InsertCustomCustomerAttributeConditionModel(model);
         return(new NullJsonResult());
     }
     return(ErrorForKendoGridJson(ModelState));
 }
        public async Task <IActionResult> ConditionCustomCustomerAttributeInsert(CustomerReminderModel.ConditionModel.AddCustomCustomerAttributeConditionModel model)
        {
            if (ModelState.IsValid)
            {
                await _customerReminderViewModelService.InsertCustomCustomerAttributeConditionModel(model);

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