public StationRouteController() { var context = new TrainBookingContext(); _stationRouteLogic = new StationRouteLogic(new StationRouteRepository(context)); _routeLogic = new RouteLogic(new RouteRepository(context)); _stationLogic = new StationLogic(new StationRepository(context)); }
//git commit public RouteController() { var context = new TrainBookingContext(); _routeLogic = new RouteLogic(new RouteRepository(context)); _stationLogic = new StationLogic(new StationRepository(context)); _stationRouteLogic = new StationRouteLogic(new StationRouteRepository(context)); _wagonTypeLogic = new WagonTypeLogic(new WagonTypeRepository(context)); _ticketLogic = new TicketLogic(new TicketRepository(context)); }
public HomeController(IStationLogic client, ITripLogic tripLogic) { _client = client; _tripLogic = tripLogic; }
public HomeController(IStationLogic client) { _client = client; }
public RoutesController(IRouteLogic routeStub, IStationLogic stationStub) { _routeBLL = routeStub; _stationBLL = stationStub; }
public RoutesController() { _routeBLL = new RouteLogic(); _stationBLL = new StationLogic(); }
public UniqueStationAttribute(string lastStation) { LastStation = lastStation; var context = new TrainBookingContext(); _stationLogic = new StationLogic(new StationRepository(context)); }
public StationsController(IStationLogic stub) { _stationBLL = stub; }
public StationsController() { _stationBLL = new StationLogic(); }