コード例 #1
0
ファイル: CcwJobService.cs プロジェクト: ychung-mot/schoolbus
        public CcwJobService(DbAppContext context, IConfiguration configuration, ICCWDataService ccwDataService, ILogger <CcwJobService> logger)
        {
            _context        = context;
            _configuration  = configuration;
            _ccwDataService = ccwDataService;
            _logger         = logger;

            _userId   = _configuration["CCW_USER_ID"];
            _userGuid = _configuration["CCW_USER_GUID"];
            _userDir  = _configuration["CCW_USER_DIR"];
        }
コード例 #2
0
 /// <summary>
 /// Create a controller and set the service
 /// </summary>
 public CCWDataController(ICCWDataService service)
 {
     _service = service;
 }