Ejemplo n.º 1
0
 public FlightController(IFlightService flightService, IPlaneService planeService,
                         IPlaneAirportService planeAirportService)
 {
     this.FlightService       = flightService;
     this.PlaneService        = planeService;
     this.PlaneAirportService = planeAirportService;
 }
Ejemplo n.º 2
0
 public FlightService(IUnitOfWork unitOfWork,
                      IFlightRepository flightRepository, IPlaneAirportService planeAirportService,
                      IPlaneService planeService) : base(unitOfWork)
 {
     this.FlightRepository    = flightRepository;
     this.PlaneAirportService = planeAirportService;
     this.PlaneService        = planeService;
 }
Ejemplo n.º 3
0
 public HomeController(IFlightService flightService, IAccountService accountService,
                       IPlaneService planeService, ITicketService ticketService)
 {
     this.AccountService = accountService;
     this.PlaneService   = planeService;
     this.TicketService  = ticketService;
     this.FlightService  = flightService;
 }
Ejemplo n.º 4
0
 public FlightModel(IFlightService services, IFlightVMService serviceVM, IUnitOfWork unitofwork, IPlaneService servicesPlane, IRouteService routeServices)
 {
     _unitofwork    = unitofwork;
     _services      = services;
     _planeServices = servicesPlane;
     _routeServices = routeServices;
     _serviceVM     = serviceVM;
 }
Ejemplo n.º 5
0
 public PlanesController(
     IPlaneService planeService,
     IValidator <PlaneDTO> planeModelValidator
     )
 {
     _planeService        = planeService;
     _planeModelValidator = planeModelValidator;
 }
Ejemplo n.º 6
0
 public PlaneForm(IPlaneService _planeService)
 {
     InitializeComponent();
     ddlPlaneType.SelectedIndex = 0;
     this._planeService         = _planeService;
     LoadAllPlane();
     txtPlaneName.Focus();
 }
Ejemplo n.º 7
0
 public SeatMapService(IUnitOfWork unitOfWork,
                       ISeatMapRepository seatMapRepository, ISeatClassService seatClassService, IPlaneSeatClassService planeSeatClassService,
                       IPlaneService planeService, ITicketFlightService ticketFlightService) : base(unitOfWork)
 {
     this.SeatMapRepository     = seatMapRepository;
     this.SeatClassService      = seatClassService;
     this.PlaneSeatClassService = planeSeatClassService;
     this.PlaneService          = planeService;
     this.TicketFlightService   = ticketFlightService;
 }
 public GenerateDataController(IAirportService airportService, ISeatClassService seatClassService,
                               IPlaneService planeService, IPlaneSeatClassService planeSeatClassService,
                               IPlaneAirportService planeAirportService, IFlightService flightService)
 {
     this.AirportService        = airportService;
     this.SeatClassService      = seatClassService;
     this.PlaneService          = planeService;
     this.PlaneAirportService   = planeAirportService;
     this.PlaneSeatClassService = planeSeatClassService;
     this.FlightService         = flightService;
 }
Ejemplo n.º 9
0
 public PlaneController(IPlaneService planeService, ISeatMapService seatMapService, IAirportService airportService,
                        IPlaneSeatClassService planeSeatClassService, IPlaneAirportService planeAirportService, ITicketFlightService ticketFlightService,
                        IFlightService flightService)
 {
     this.PlaneService          = planeService;
     this.AirportService        = airportService;
     this.SeatMapService        = seatMapService;
     this.PlaneSeatClassService = planeSeatClassService;
     this.PlaneAirportService   = planeAirportService;
     this.TicketFlightService   = ticketFlightService;
     this.FlightService         = flightService;
 }
Ejemplo n.º 10
0
 public DepartureService(
     IUnitOfWork unitOfWork,
     IFlightService flightService,
     ICrewService crewService,
     IPlaneService planeService
     )
     : base(unitOfWork)
 {
     _flightService = flightService;
     _crewService   = crewService;
     _planeService  = planeService;
 }
Ejemplo n.º 11
0
 public MainForm(IPlaneBookService _planeBookService, IPlaneService _planeService, ICargoService _cargoService, ICustomerService _customerService)
 {
     InitializeComponent();
     this._planeBookService = _planeBookService;
     this._planeService     = _planeService;
     this._cargoService     = _cargoService;
     this._customerService  = _customerService;
     this.customerForm      = null;
     this.planeForm         = null;
     this.cargoForm         = null;
     this.bookingForm       = null;
     LoadBookForm();
 }
Ejemplo n.º 12
0
 public PlaneBookingForm(IPlaneBookService _planeBookService, IPlaneService _planeService, ICargoService _cargoService, ICustomerService _customerService)
 {
     InitializeComponent();
     this._planeBookService     = _planeBookService;
     this._planeService         = _planeService;
     this._cargoService         = _cargoService;
     this._customerService      = _customerService;
     ddlPlaneType.SelectedIndex = 0;
     ddlPlaneName.SelectedIndex = 0;
     ddlCargoItem.SelectedIndex = 0;
     ddlCustName.SelectedIndex  = 0;
     LoadAllBookingsCurrentDate();
 }
Ejemplo n.º 13
0
 public ClassifiersController(IAirportService airportService, IAirportSchemeService airportSchemeService,
                              ICityService cityService, ICountryService countryService, IGateService gateService, IFlightService flightService,
                              IPlaneService planeService, ITerminalService terminalService, ITimeTableService timeTableService)
 {
     _airportService       = airportService;
     _airportSchemeService = airportSchemeService;
     _cityService          = cityService;
     _countryService       = countryService;
     _gateService          = gateService;
     _flightService        = flightService;
     _planeService         = planeService;
     _terminalService      = terminalService;
     _timeTableService     = timeTableService;
 }
Ejemplo n.º 14
0
 public ServiceManager(CQRSContext cQRSContext, ITravelerService travelerService,
                       IBookingService bookingService,
                       ISeatService seatService,
                       IPlaneService planeService,
                       IFlightService flightService,
                       IEventService eventService)
 {
     _cQRSContext    = cQRSContext;
     _travelService  = travelerService;
     _bookingService = bookingService;
     _seatService    = seatService;
     _planeService   = planeService;
     _flightService  = flightService;
     _eventService   = eventService;
 }
Ejemplo n.º 15
0
 public PlanesController(IPlaneService planeService)
 {
     service = planeService;
 }
 public PlaneController(IPlaneService planeService)
 {
     this.planeService = planeService;
 }
Ejemplo n.º 17
0
 /// <summary>
 /// Konstruktor inicjalizujacy planeService za pomoca dependency injection
 /// </summary>
 /// <param name="carService"></param>
 public PlaneController(IPlaneService carService)
 {
     this.planeService = carService;
 }
Ejemplo n.º 18
0
 public PlaneController(IPlaneService service)
 {
     _Service = service;
 }
 public PlanesController(IPlaneService serv)
 {
     planeService = serv;
 }
Ejemplo n.º 20
0
 public PlaneModel(IPlaneService services, IUnitOfWork unitofwork, IPlaneVMService servicesVM)
 {
     this._unitofwork = unitofwork;
     this._services   = services;
     this._servicesVM = servicesVM;
 }
Ejemplo n.º 21
0
 public PlanController(IPlaneService planeSrvc, UserManager <IdentityUser> usrMgr)
 {
     _planeSrvc = planeSrvc;
     _usrMgr    = usrMgr;
 }
Ejemplo n.º 22
0
 public PlaneVMService(IPlaneService movieService, IMapper mapper)
 {
     _service = movieService;
     _mapper  = mapper;
 }