예제 #1
0
        // DELETE: api/Insurance/5
        public void Delete(int id)
        {
            var model = new InsuranceDto {
                Id = id
            };

            _insuranceService.Delete(model);
        }
예제 #2
0
 public bool Delete(int id)
 {
     return(insuranceService.Delete(id));
 }
예제 #3
0
 public ActionResult <Insurance> Delete(int id)
 {
     _insuranceService.Delete(id);
     return(NoContent());
 }