public VehicleService(SeatRepository seatRepository, VehicleListQuery vehicleListQuery, VehicleRepository vehicleRepository, CompanyRepository companyRepository, SeatListQuery seatListQuery)
 {
     this.seatListQuery     = seatListQuery;
     this.companyRepository = companyRepository;
     this.vehicleRepository = vehicleRepository;
     this.seatRepository    = seatRepository;
     this.vehicleListQuery  = vehicleListQuery;
 }
Example #2
0
 public RouteService(RouteStationForBetweenQuery routeStationForBetweenQuery, CompanyRouteListQuery companyRouteListQuery, CompanyRepository companyRepository, RouteListAllQuery routeListAllQuery, EmptyProgramsListQuery emptyProgramsListQuery, SeatRepository seatRepository, SeatListQuery seatListQuery, RouteRepository routeRepository, RoutesStationRepository routeStationRepository,
                     ProgramRepository programRepository, FindProgramsOfRouteStationQuery findProgramsOfRouteStationQuery,
                     RouteStationListQuery routeStationListQuery, RouteListQuery routeListQuery, CreateSpecificRouteQuery createSpecificRouteQuery,
                     StationRepository stationRepository)
 {
     this.routeStationForBetweenQuery = routeStationForBetweenQuery;
     this.companyRouteListQuery       = companyRouteListQuery;
     this.companyRepository           = companyRepository;
     this.routeListAllQuery           = routeListAllQuery;
     this.emptyProgramsListQuery      = emptyProgramsListQuery;
     this.seatRepository                  = seatRepository;
     this.seatListQuery                   = seatListQuery;
     this.routeRepository                 = routeRepository;
     this.routeStationRepository          = routeStationRepository;
     this.programRepository               = programRepository;
     this.findProgramsOfRouteStationQuery = findProgramsOfRouteStationQuery;
     this.routeStationListQuery           = routeStationListQuery;
     this.routeListQuery                  = routeListQuery;
     this.createSpecificRouteQuery        = createSpecificRouteQuery;
     this.stationRepository               = stationRepository;
 }