public async void AddOne_NullValue_ReturnsError()
        {
            FlightScheduleRequest flightRequest = null;

            var result = await _flightScheduleService.CreateAsync(flightRequest, _cancellationToken);

            Assert.True(result.StatusCode == HttpStatusCode.BadRequest);
            Assert.True(result.ProblemTittle == "Object is null");
        }
 public async Task <Result <string> > CreateFlightAsync(FlightScheduleRequest flightRequest, CancellationToken cancellationToken)
 {
     return(await _flightScheduleService.CreateAsync(flightRequest, cancellationToken));
 }