Example #1
0
 public IActionResult DeleteFruit(Guid id)
 {
     try
     {
         _fruitService.DeleteFruit(id);
         return(NoContent());
     }
     catch (Exception)
     {
         return(StatusCode(500)); throw;
     }
 }