public async Task <IActionResult> Post([FromBody] StewardessDTO stewardessDTO) { if (!ModelState.IsValid) { return(BadRequest(ModelState)); } try { await stewardessService.CreateEntityAsync(stewardessDTO); } catch (ValidationException e) { return(BadRequest(new { Exception = e.Message })); } return(Ok(stewardessDTO)); }