public TimeTableController(ITimeTableRepository timeTableRepository, IPierRepository pierRepository, IStopRepository stopRepository, IRouteRepository routeRepository) { this.timeTableRepository = timeTableRepository; this.pierRepository = pierRepository; this.stopRepository = stopRepository; this.routeRepository = routeRepository; }
public ScheduleController(IPierRepository pierRepository, IRouteRepository routeRepository, IScheduleRepository scheduleRepository) { this.pierRepository = pierRepository; this.routeRepository = routeRepository; this.scheduleRepository = scheduleRepository; ViewBag.Piers = pierRepository.List(); ViewBag.Routes = routeRepository.List(); }
public PierController(IPierRepository pierRepository) { this.pierRepository = pierRepository; }