Exemplo n.º 1
0
 public RouteService(IRepository <SeatManagement, long> seatMgtRepo, IUserService userSvc,
                     IRepository <VehicleTripRegistration, Guid> vehicleTripRegRepo,
                     IRepository <VehicleModel> vehicleModelRepo,
                     IRepository <FareCalendar> fareCalendarRepo, IRepository <Fare> fareRepo,
                     IRepository <Trip, Guid> tripRepo, IRepository <ExcludedSeat> excludedSeatRepo,
                     IRepository <Route> routeRepo, IRepository <State> stateRepo, IRepository <Driver> driverRepo,
                     IRepository <Terminal> terminalRepo, IRepository <EmployeeRoute, long> employeeRouteRepo,
                     IRepository <Employee> employeeRepo, IFareCalendarService fareCalendarSvc,
                     IServiceHelper serviceHelper, IUnitOfWork unitOfWork, IEmployeeService employeeSvc)
 {
     _seatMgtRepo        = seatMgtRepo;
     _userSvc            = userSvc;
     _employeeSvc        = employeeSvc;
     _fareCalendarSvc    = fareCalendarSvc;
     _vehicleTripRegRepo = vehicleTripRegRepo;
     _vehicleModelRepo   = vehicleModelRepo;
     _fareCalendarRepo   = fareCalendarRepo;
     _fareRepo           = fareRepo;
     _tripRepo           = tripRepo;
     _excludedSeatRepo   = excludedSeatRepo;
     _repo              = routeRepo;
     _stateRepo         = stateRepo;
     _driverRepo        = driverRepo;
     _terminalRepo      = terminalRepo;
     _employeeRouteRepo = employeeRouteRepo;
     _serviceHelper     = serviceHelper;
     _unitOfWork        = unitOfWork;
     _employeeRepo      = employeeRepo;
 }
Exemplo n.º 2
0
 public FareService(IRepository <Route> routeRepo,
                    IRepository <VehicleModel> vehicleModelRepo,
                    IRepository <Fare> repo,
                    IRepository <FareCalendar> fareCalendarRepo,
                    IUnitOfWork unitOfWork,
                    IServiceHelper serviceHelper, IFareCalendarService fareCalendarSvc, IRouteService routeSvc)
 {
     _routeRepo        = routeRepo;
     _vehicleModelRepo = vehicleModelRepo;
     _repo             = repo;
     _routeSvc         = routeSvc;
     _fareCalendarRepo = fareCalendarRepo;
     _unitOfWork       = unitOfWork;
     _serviceHelper    = serviceHelper;
     _fareCalendarSvc  = fareCalendarSvc;
 }
Exemplo n.º 3
0
 public FareCalendarController(IFareCalendarService FareCalendarService)
 {
     _FareCalendarService = FareCalendarService;
 }