Esempio n. 1
0
        protected async Task Load()
        {
            Category = await CategoryApiService.Get(Id);

            Events = await EventApiService.GetUpcomingForCategory(Id);

            IsLoading = false;
        }
Esempio n. 2
0
        protected async Task Load()
        {
            var category = await CategoryApiService.Get(Id);

            Name           = category.Name;
            UpcomingEvents = await EventApiService.GetUpcomingForCategory(Id);

            IsLoading = false;
            StateHasChanged();
        }