public UserController(IAuthTokenRepo authTokenRepo, IUserRepo userRepo, GoogleCalendarService googleCalendarApi) { _authTokenRepo = authTokenRepo; _googleCalendarApi = googleCalendarApi; _userRepo = userRepo; }
public GoogleCalendarAPI(HttpClient client, IAuthTokenRepo authTokenRepo, UserManager <IdentityUser> userManager, IConfiguration configuration) { _client = client; AuthTokenRepo = authTokenRepo; UserManager = userManager; _configuration = configuration; _client.BaseAddress = new Uri("https://www.googleapis.com/"); }
public EventsController(IAuthTokenRepo AuthTokenRepo, UserManager <IdentityUser> IdentitiyUserManager, RoleManager <IdentityRole> roleManager, GoogleCalendarAPI googleCalendarAPI, IUserEntryRepo userEntryRepo, IUserSettingsRepo userSettings) { this.AuthTokenRepo = AuthTokenRepo; UserManager = IdentitiyUserManager; RoleManager = roleManager; this.googleCalendarAPI = googleCalendarAPI; this.userEntryRepo = userEntryRepo; this.userSettings = userSettings; }