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; }
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; }
public FareCalendarController(IFareCalendarService FareCalendarService) { _FareCalendarService = FareCalendarService; }