public IActionResult CreateNewAirport(string name, string city, bool IsInternational, string airline) { var airport = new Airport(name, city, IsInternational); var airlines = _airlineService.Deserialize <List <Airline> >(); var newAirline = airlines.FirstOrDefault(x => x.AirlineName == airline); airport.Airlines.Add(newAirline); _airportService.AddAirport(airport); var airports = _airportService.GetAirports(); return(View("GetAllAirports", airports)); }