public async Task <IActionResult> Post([FromBody] DeparturesDTO departure)
        {
            if (!ModelState.IsValid)
            {
                return(BadRequest(ModelState));
            }
            var result = await _service.CreateObjectAsync(departure);

            return(result == true?StatusCode(200) : StatusCode(500));
        }