コード例 #1
0
 public FlightController(IFlightService flightService, IPlaneService planeService,
                         IPlaneAirportService planeAirportService)
 {
     this.FlightService       = flightService;
     this.PlaneService        = planeService;
     this.PlaneAirportService = planeAirportService;
 }
コード例 #2
0
 public FlightService(IUnitOfWork unitOfWork,
                      IFlightRepository flightRepository, IPlaneAirportService planeAirportService,
                      IPlaneService planeService) : base(unitOfWork)
 {
     this.FlightRepository    = flightRepository;
     this.PlaneAirportService = planeAirportService;
     this.PlaneService        = planeService;
 }
コード例 #3
0
 public HomeController(IFlightService flightService, IAccountService accountService,
                       IPlaneService planeService, ITicketService ticketService)
 {
     this.AccountService = accountService;
     this.PlaneService   = planeService;
     this.TicketService  = ticketService;
     this.FlightService  = flightService;
 }
コード例 #4
0
 public FlightModel(IFlightService services, IFlightVMService serviceVM, IUnitOfWork unitofwork, IPlaneService servicesPlane, IRouteService routeServices)
 {
     _unitofwork    = unitofwork;
     _services      = services;
     _planeServices = servicesPlane;
     _routeServices = routeServices;
     _serviceVM     = serviceVM;
 }
コード例 #5
0
 public PlanesController(
     IPlaneService planeService,
     IValidator <PlaneDTO> planeModelValidator
     )
 {
     _planeService        = planeService;
     _planeModelValidator = planeModelValidator;
 }
コード例 #6
0
 public PlaneForm(IPlaneService _planeService)
 {
     InitializeComponent();
     ddlPlaneType.SelectedIndex = 0;
     this._planeService         = _planeService;
     LoadAllPlane();
     txtPlaneName.Focus();
 }
コード例 #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;
 }
コード例 #8
0
 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;
 }
コード例 #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;
 }
コード例 #10
0
 public DepartureService(
     IUnitOfWork unitOfWork,
     IFlightService flightService,
     ICrewService crewService,
     IPlaneService planeService
     )
     : base(unitOfWork)
 {
     _flightService = flightService;
     _crewService   = crewService;
     _planeService  = planeService;
 }
コード例 #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();
 }
コード例 #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();
 }
コード例 #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;
 }
コード例 #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;
 }
コード例 #15
0
 public PlanesController(IPlaneService planeService)
 {
     service = planeService;
 }
コード例 #16
0
 public PlaneController(IPlaneService planeService)
 {
     this.planeService = planeService;
 }
コード例 #17
0
 /// <summary>
 /// Konstruktor inicjalizujacy planeService za pomoca dependency injection
 /// </summary>
 /// <param name="carService"></param>
 public PlaneController(IPlaneService carService)
 {
     this.planeService = carService;
 }
コード例 #18
0
 public PlaneController(IPlaneService service)
 {
     _Service = service;
 }
 public PlanesController(IPlaneService serv)
 {
     planeService = serv;
 }
コード例 #20
0
ファイル: Plane.cshtml.cs プロジェクト: ShikuroD/Greenair
 public PlaneModel(IPlaneService services, IUnitOfWork unitofwork, IPlaneVMService servicesVM)
 {
     this._unitofwork = unitofwork;
     this._services   = services;
     this._servicesVM = servicesVM;
 }
コード例 #21
0
 public PlanController(IPlaneService planeSrvc, UserManager <IdentityUser> usrMgr)
 {
     _planeSrvc = planeSrvc;
     _usrMgr    = usrMgr;
 }
コード例 #22
0
ファイル: PlaneVMService.cs プロジェクト: ShikuroD/Greenair
 public PlaneVMService(IPlaneService movieService, IMapper mapper)
 {
     _service = movieService;
     _mapper  = mapper;
 }