public IActionResult ConditionCustomerRegisterUpdate(CustomerReminderModel.ConditionModel.AddCustomerRegisterConditionModel model) { if (ModelState.IsValid) { _customerReminderViewModelService.UpdateCustomerRegisterConditionModel(model); return(new NullJsonResult()); } return(ErrorForKendoGridJson(ModelState)); }
public async Task <IActionResult> ConditionCustomerRegisterUpdate(CustomerReminderModel.ConditionModel.AddCustomerRegisterConditionModel model) { if (ModelState.IsValid) { await _customerReminderViewModelService.UpdateCustomerRegisterConditionModel(model); return(new JsonResult("")); } return(ErrorForKendoGridJson(ModelState)); }