Exemplo n.º 1
0
 public RoutesAdminController(IRoutesRepo iRout, IStationRepo iStaion, ICategoryRepo iCate, IBusRePo iBus)
 {
     _IRout   = iRout;
     _IStaion = iStaion;
     _ICate   = iCate;
     _IBus    = iBus;
 }
 public StationAdminController(
     IWebHostEnvironment _webHostEnvironment,
     ILogger <StationAdminController> _logger,
     IStationRepo _stationRepository)
 {
     webHostEnvironment = _webHostEnvironment;
     logger             = _logger;
     stationRepository  = _stationRepository;
 }
 public UserAdminController(
     IWebHostEnvironment _webHostEnvironment,
     ILogger <UserAdminController> _logger,
     IAccountRepo _accountRepository,
     IStationRepo _stationRepository,
     IRoleRepo _roleRepository)
 {
     webHostEnvironment = _webHostEnvironment;
     logger             = _logger;
     accountRepository  = _accountRepository;
     stationRepository  = _stationRepository;
     roleRepository     = _roleRepository;
 }
Exemplo n.º 4
0
 public StationService(IStationRepo stationRepo)
 {
     this.stationRepo = stationRepo;
 }
 static SqlProcedureRepository()
 {
     stationRepo = new StationRepository();
     trainRepo   = new TrainRepository();
 }