public IActionResult Delete() { try { stewardessService.DeleteAll(); } catch (Exception ex) { return(BadRequest(new { Type = ex.GetType().Name, ex.Message })); } return(NoContent()); }
public IActionResult Delete() { try { stewardessService.DeleteAll(); } catch (Exception ex) { return(BadRequest(new { Type = ex.GetType().Name, ex.Message })); } return(NoContent()); }