public void Delete(int id) { try { stewardessService.DeleteStewardess(id); } catch (System.Exception) { HttpContext.Response.StatusCode = 404; } }