Beispiel #1
0
        public async Task OnGetAsync()
        {
            FilmCount = await _filmService.CountAsync();

            PersonCount = await _personService.CountAsync();

            MediumCount = await _mediumService.CountAsync();

            RelationCount = await _filmPersonService.CountAsync();
        }
 public async Task <OperationResult <int> > GetAsync(int dummy)
 {
     return(await _service.CountAsync());
 }