예제 #1
0
 public IActionResult DeleteLevel(string Id, string customerReminderId)
 {
     if (ModelState.IsValid)
     {
         _customerReminderViewModelService.DeleteLevel(Id, customerReminderId);
         return(new NullJsonResult());
     }
     return(ErrorForKendoGridJson(ModelState));
 }
        public async Task <IActionResult> DeleteLevel(string Id, string customerReminderId)
        {
            if (ModelState.IsValid)
            {
                await _customerReminderViewModelService.DeleteLevel(Id, customerReminderId);

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