/// <summary>
        /// Shows all downloads.
        /// </summary>
        /// <returns>View showing all downloads.</returns>
        public virtual ActionResult Statistics()
        {
            var minDate = DateTime.Now.Subtract(new TimeSpan(60, 0, 0, 0));

            var model = new MVCBlog.Website.Models.OutputModels.Administration.Downloads()
            {
                BlogEntries = this.repository.BlogEntries
                              .Include(b => b.BlogEntryFiles)
                              .AsNoTracking()
                              .OrderByDescending(f => f.PublishDate)
                              .ToArray(),

                FeedStatistics = this.repository.FeedStatistics
                                 .AsNoTracking()
                                 .OrderBy(f => f.Application)
                                 .AsEnumerable()
                                 .GroupBy(f => f.Created.Date)
                                 .OrderBy(f => f.Key)
            };

            return(this.View(model));
        }
        /// <summary>
        /// Shows all downloads.
        /// </summary>
        /// <returns>View showing all downloads.</returns>
        public async virtual Task<ActionResult> Statistics()
        {
            var minDate = DateTime.Now.Subtract(new TimeSpan(60, 0, 0, 0));

            var feedStatistics = await this.repository.FeedStatistics
                    .AsNoTracking()
                    .OrderBy(f => f.Application)
                    .ToArrayAsync();

            var model = new MVCBlog.Website.Models.OutputModels.Administration.Downloads()
            {
                BlogEntries = await this.repository.BlogEntries
                    .Include(b => b.BlogEntryFiles)
                    .AsNoTracking()
                    .OrderByDescending(f => f.PublishDate)
                    .ToArrayAsync(),

                FeedStatistics = feedStatistics
                    .GroupBy(f => f.Created.Date)
                    .OrderBy(f => f.Key)
            };

            return this.View(model);
        }