public StudentGroupsController(IStudentGroupsRepository studentGroupsRepository,
                                IStudentGroupScheduleProvider scheduleProvider, IGoogleCalendar googleCalendar, IDataStore dataStore, IPlanerConfig planerConfig)
 {
     _studentGroupsRepository = studentGroupsRepository;
     _scheduleProvider        = scheduleProvider;
     _googleCalendar          = googleCalendar;
     _dataStore    = dataStore;
     _planerConfig = planerConfig;
 }
Example #2
0
 public GoogleCalendar(IPlanerConfig planerConfig, IDataStore dataStore, IHttpContextAccessor httpContextAccessor)
 {
     _planerConfig        = planerConfig;
     _dataStore           = dataStore;
     _httpContextAccessor = httpContextAccessor;
 }
Example #3
0
 public Startup(IConfiguration configuration)
 {
     Configuration = configuration;
     _planerConfig = new AppConfig(configuration);
 }