Esempio n. 1
0
        public IActionResult Index()
        {
            var groupedBlocksAndSets = _setService.GetGroupedBlocksAndSets();

            var sortedGroupedBlocksAndSets = groupedBlocksAndSets.OrderByDescending(s => s.ReleaseDate).ToList();
            var newestCurrentSet           = _setService.GetNewestCurrentSet();

            var allSets = new AllSets(newestCurrentSet, sortedGroupedBlocksAndSets);

            return(View(allSets));
        }