private async void ShowCategories() { CategoryApiService cService = new CategoryApiService(); var categoryList = await cService.GetCategoriesAsync(); tvCategories.ItemsSource = categoryList; }