Example #1
0
 public SeatController(ISeatRepository seatRepository, IFlightRepository flightRepository, IUserFlightRepository userFlightRepository, IPassengerRepository passengerRepository)
 {
     _seatRepository       = seatRepository;
     _flightRepository     = flightRepository;
     _userFlightRepository = userFlightRepository;
     _passengerRepository  = passengerRepository;
 }
Example #2
0
 public UserFlightController(ApplicationDbContext dbContext, IUserFlightRepository userFlightRepository)
 {
     _dbContext            = dbContext;
     _userFlightRepository = userFlightRepository;
 }
Example #3
0
 public UserController(IUserRepository userRepository, IStaffRepository staffRepository, IUserFlightRepository userFlightRepository)
 {
     _userRepository       = userRepository;
     _staffRepository      = staffRepository;
     _userFlightRepository = userFlightRepository;
 }
 public NotificationController(INotificationRepository notificationRepository, IUserFlightRepository userFlightRepository, IPassengerRepository passengerRepository)
 {
     _notificiationRepository = notificationRepository;
     _userFlightRepository    = userFlightRepository;
     _passengerRepository     = passengerRepository;
 }