public void Delete(int id) { var dto = new DtoId { Id = id }; svc.Delete(dto); }
public JsonResult Delete(string idString) { var result = _articleSvc.Delete(idString); return(Json(result)); }
public void Delete(int id) { var dto = new DtoId { Id = id }; svc.Delete(dto); }
public JsonResult Delete(string idString) { var result = _articleSvc.Delete(idString); return(Json(result)); }