Esempio n. 1
0
 public List <PopularityRankingDTO> GetPopularityRankings()
 {
     return(_context.PopularityRankings.Select(p => PopularityRankingCoreConverter.ToDTO(p)).ToList());
 }
Esempio n. 2
0
 public List <PopularityRankingDTO> GetPopularityRankings()
 {
     return(popularityRankingsDbList.Find(a => true).ToList().Select(a => PopularityRankingCoreConverter.ToDTO(a)).ToList());
 }