private async void Refresh_Clicked(object sender, EventArgs e) { if (IsBusy) { return; } IsBusy = true; QuoteContent.Text = "Loading..."; Quote = await ChuckService.GetQuote(); QuoteContent.Text = Quote.Content; IsBusy = false; }
public ChuckController() { _chuckService = new ChuckService(); }
public OpenAPIController() { _chuckService = new ChuckService(); _peopleService = new PeopleService(); _searchService = new SearchService(); }