public RouteController(IRouteRepository routeRepository, ITimeTableRepository timeTableRepository) { this.routeRepository = routeRepository; this.timeTableRepository = timeTableRepository; ViewBag.TimeTables = timeTableRepository.List(); }
public RouteController(IRouteRepository routeRepository, ITimeTableRepository timeTableRepository) { this.routeRepository = routeRepository; this.timeTableRepository = timeTableRepository; ViewBag.TimeTables = timeTableRepository.List(); }