示例#1
0
 public IActionResult ConditionDeletePosition(string id, string customerReminderId, string conditionId)
 {
     if (ModelState.IsValid)
     {
         _customerReminderViewModelService.ConditionDeletePosition(id, customerReminderId, conditionId);
         return(new NullJsonResult());
     }
     return(ErrorForKendoGridJson(ModelState));
 }
        public async Task <IActionResult> ConditionDeletePosition(string id, string customerReminderId, string conditionId)
        {
            if (ModelState.IsValid)
            {
                await _customerReminderViewModelService.ConditionDeletePosition(id, customerReminderId, conditionId);

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