public ActivityController(Strava.Client client, Models.ButteryContext context) { _client = client; _buttery = new Buttery.Buttery(context); _account = _buttery.GetAccount(); }
public HomeController(ButteryContext context, Strava.Settings settings, Strava.Client client, IConfiguration config) { _settings = settings; _buttery = new Buttery.Buttery(context); _account = _buttery.GetAccount(); _client = client; _redirectUri = config["StravaOauthRedirectUri"]; }