public Task <IResultModel> Delete([BindRequired] int id)
 {
     return(_service.Delete(id));
 }
Пример #2
0
        public ActionResult Delete(DictViewModel model)
        {
            var result = _dictService.Delete(model.Id);

            return(RedirectToAction("Index", "Result", new { state = result, style = "dialog" }));
        }
Пример #3
0
 public async Task <IResultModel> Delete([BindRequired] Guid id)
 {
     return(await _service.Delete(id));
 }