Beispiel #1
0
        public async Task <DisplayedComicVM> GetComicOfTheDay()
        {
            var comicOfTheDay = await _comicRepository.GetComicOfTheDay();

            var comicNavigationContext = await GetComicNavigationById(comicOfTheDay?.Num);

            return(new DisplayedComicVM
            {
                Comic = comicOfTheDay,
                Navigation = comicNavigationContext
            });
        }