public IActionResult GetFlightsPerMonthPerDestinationPercentage() { var flights = flightsRepository.GetPercentageOfFlightsPerMonthFromDestinations(); if (!ModelState.IsValid) { return(BadRequest(ModelState)); } return(Ok(flights.Result)); }
public IActionResult GetFlightsPerMonthPerDestinationPercentage() { var flights = flightsRepository.GetPercentageOfFlightsPerMonthFromDestinations(); if (!ModelState.IsValid) { return(BadRequest(ModelState)); } return(Ok(flights.Result)); }