Пример #1
0
 public CanvasAccessTokenController(ExtensibleDbContext dbCtx)
 {
     _dbCtx              = dbCtx;
     _config             = SystemConfig.LoadConfig();
     _tokenManager       = new TokenManager(_dbCtx, _config);
     _canvasTokenManager = new CanvasTokenManager(_dbCtx);
 }
Пример #2
0
 public CourseTabsController(ExtensibleDbContext dbCtx)
 {
     _dbCtx              = dbCtx;
     _config             = SystemConfig.LoadConfig();
     _tokenManager       = new TokenManager(_dbCtx, _config);
     _canvasTokenManager = new CanvasTokenManager(_dbCtx);
     _canvasDataAccess   = new CanvasDataAccess(_config);
     _tableManager       = new CourseDataTableManager(_dbCtx);
 }