Exemple #1
0
        public ViewResult Deleted()
        {
            var model = new DeletedViewModel
            {
                FoundISSNs    = (IEnumerable <string>) this.Session[FoundISSNsSessionKey],
                NotFoundISSNs = (IEnumerable <string>) this.Session[NotFoundISSNsSessionKey]
            };

            return(this.View(model));
        }
Exemple #2
0
        public async Task <IActionResult> DeletedItems()
        {
            DeletedViewModel model = new DeletedViewModel();

            model.TvItems = await _tvItemService.FetchTvItemsAsync(true);

            model.ZombieFiles = await _fileService.FindZombieFilesAsync();

            model.TotalUndeletedFileSize = model.TvItems.Sum(x => Utils.GetTotalFileSizeLong(x));

            return(View(model));
        }
Exemple #3
0
        public ViewResult Deleted()
        {
            var model = new DeletedViewModel
            {
                FoundISSNs = (IEnumerable<string>)this.Session[FoundISSNsSessionKey],
                NotFoundISSNs = (IEnumerable<string>)this.Session[NotFoundISSNsSessionKey]
            };

            return this.View(model);
        }