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