// DELETE: api/Insurance/5 public void Delete(int id) { var model = new InsuranceDto { Id = id }; _insuranceService.Delete(model); }
public bool Delete(int id) { return(insuranceService.Delete(id)); }
public ActionResult <Insurance> Delete(int id) { _insuranceService.Delete(id); return(NoContent()); }