Beispiel #1
0
    public async Task InitializeAsync()
    {
        var categories = await showsService.GetAllCategories();

        Categories = categories?.ToList();
    }
Beispiel #2
0
    private async Task LoadCategoryAsync()
    {
        var allCategories = await showsService.GetAllCategories();

        Category = allCategories?.First(c => c.Id == new Guid(Id));
    }