public HomeController(IAirportService airportService, ISeatClassService seatClassService,
                       ICountryService countryService, IPassengerTypeService passengerTypeService)
 {
     this.AirportService       = airportService;
     this.SeatClassService     = seatClassService;
     this.CountryService       = countryService;
     this.PassengerTypeService = passengerTypeService;
 }
Example #2
0
 public TicketController(IPassengerTypeService passengerTypeService, ITicketService ticketService,
                         IPassengerTicketService passengerTicketService, ITicketFlightService ticketFlightService,
                         ISeatMapService seatMapService, IAccountService accountService, IFlightService flightService,
                         IAirportService airportService)
 {
     this.PassengerTypeService   = passengerTypeService;
     this.TicketService          = ticketService;
     this.PassengerTicketService = passengerTicketService;
     this.TicketFlightService    = ticketFlightService;
     this.SeatMapService         = seatMapService;
     this.AccountService         = accountService;
     this.FlightService          = flightService;
     this.AirportService         = airportService;
 }
Example #3
0
 public FlightController(IAirportService airportService, ISeatClassService seatClassService,
                         IFlightService flightService, ICountryService countryService, IPassengerTypeService passengerTypeService,
                         ISeatMapService seatMapService)
 {
     this.AirportService       = airportService;
     this.SeatClassService     = seatClassService;
     this.FlightService        = flightService;
     this.CountryService       = countryService;
     this.PassengerTypeService = passengerTypeService;
     this.SeatMapService       = seatMapService;
 }