public LogisticianController(IRouteService routeService, ITrainService trainservice, ICarriageService carriageservice, IRouteDateService routedateservice)
 {
     _trainService     = trainservice;
     _carriageService  = carriageservice;
     _routeService     = routeService;
     _routeDateService = routedateservice;
 }
Example #2
0
 public AdminController(IStationService stationservice, IRouteService routeService, ITrainService trainservice, ICarriageService carriageservice, IRouteStationService routeStationService)
 {
     _stationService      = stationservice;
     _trainService        = trainservice;
     _carriageService     = carriageservice;
     _routeService        = routeService;
     _routeStationService = routeStationService;
 }
        public MainWindowViewModel(ITrainService trainService, ICarriageService carriageService, ITicketService ticketService, ISeatService seatService)
        {
            _trainService    = trainService;
            _carriageService = carriageService;
            _ticketService   = ticketService;
            _seatService     = seatService;

            Date = DateTime.Today;
        }
Example #4
0
 public HomeController(IStationService stationservice, IRouteService routeService, ITrainService trainservice, IRouteDateService routedateservice, ICarriageService carriageservice, IRouteStationService routestationservice)
 {
     _routeDateService    = routedateservice;
     _stationService      = stationservice;
     _trainService        = trainservice;
     _carriageService     = carriageservice;
     _routeService        = routeService;
     _routeStationService = routestationservice;
 }
 public CarriageController(ICarriageService serv)
 {
     carriageService = serv;
 }