public Task <IResultModel> Delete([BindRequired] int id) { return(_service.Delete(id)); }
public ActionResult Delete(DictViewModel model) { var result = _dictService.Delete(model.Id); return(RedirectToAction("Index", "Result", new { state = result, style = "dialog" })); }
public async Task <IResultModel> Delete([BindRequired] Guid id) { return(await _service.Delete(id)); }