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