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