public JourneyManagementService( IVehicleTripRegistrationService vehicleTripSvc, IRepository <VehicleTripRegistration, Guid> vtriprepo, IRepository <JourneyManagement, Guid> repo, IUnitOfWork uow, IRepository <Trip, Guid> tripRepo, IRepository <Terminal> terminalRepo, IRepository <Route> routeRepo, IServiceHelper serviceHelper, ITerminalService terminalSvc ) { _vehicleTripSvc = vehicleTripSvc; _repo = repo; _uow = uow; _vtripRepo = vtriprepo; _tripRepo = tripRepo; _terminalRepo = terminalRepo; _routeRepo = routeRepo; _serviceHelper = serviceHelper; _terminalSvc = terminalSvc; }
public ManifestService(IOptions <BookingConfig> _bookingConfig, IRepository <Manifest, Guid> repository, IRepository <SeatManagement, long> seatRepo, IRepository <VehicleTripRegistration, Guid> repo, IRepository <SubRoute> subRouteRepo, IRepository <PickupPoint> pickupRepo, IServiceHelper serviceHelper, ISeatManagementService seatManagemengtRepo, IVehicleTripRegistrationService vehicleTripRepo, IRepository <Driver> driverRepo, IEmployeeService employeeRepo, IRepository <Terminal> terminalRepo, IUnitOfWork unitOfWork, IFareService fareSvc, IRouteService routeSvc, IJourneyManagementService journeyMgtSvc, IPassportTypeService passportTypeRepo) { bookingConfig = _bookingConfig.Value; _repository = repository; _repo = repo; _subRouteRepo = subRouteRepo; _routeSvc = routeSvc; _seatRepo = seatRepo; _pickupRepo = pickupRepo; _serviceHelper = serviceHelper; _seatManagemengtSvc = seatManagemengtRepo; _vehicleTripRepo = vehicleTripRepo; _driverRepo = driverRepo; _employeeRepo = employeeRepo; _unitOfWork = unitOfWork; _fareSvc = fareSvc; _journeyMgtSvc = journeyMgtSvc; _terminalRepo = terminalRepo; _passportTypeSvc = passportTypeRepo; }
public VehicleTripRegistrationController(IVehicleTripRegistrationService vtrSvc) { _vtrSvc = vtrSvc; }