public ICollection <DisplayResolutionViewModel> GetResolutions()
        {
            var Resolutions = _context.GetResolutions();

            ICollection <DisplayResolutionViewModel> resolutionsViewModel = new List <DisplayResolutionViewModel>();

            foreach (var resolution in Resolutions)
            {
                DisplayResolutionViewModel singleResolutionViewModel = new DisplayResolutionViewModel
                {
                    Id           = resolution.Id,
                    CreationDate = resolution.Date,
                    Indexer      = resolution.Indexer,

                    Title                  = resolution.Title,
                    Description            = resolution.Description,
                    ActiveToVoteBeforeDate = resolution.ActiveToVoteBeforeDate
                };

                resolutionsViewModel.Add(singleResolutionViewModel);
            }

            ICollection <DisplayResolutionViewModel> orderedResolutionsViewModel = resolutionsViewModel.OrderByDescending(z => z.Indexer).ToList();

            return(orderedResolutionsViewModel);
        }