Пример #1
0
        private Card <string> CalculateTotalShowGenres(IReadOnlyList <string> libraryIds)
        {
            var totalGenres = _showRepository.GetGenreCount(libraryIds);

            return(new Card <string>
            {
                Title = Constants.Common.TotalGenres,
                Value = totalGenres.ToString(),
                Type = CardType.Text,
                Icon = Constants.Icons.PoundRoundedIcon
            });
        }