public ViewResult Deleted() { var model = new DeletedViewModel { FoundISSNs = (IEnumerable <string>) this.Session[FoundISSNsSessionKey], NotFoundISSNs = (IEnumerable <string>) this.Session[NotFoundISSNsSessionKey] }; return(this.View(model)); }
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)); }
public ViewResult Deleted() { var model = new DeletedViewModel { FoundISSNs = (IEnumerable<string>)this.Session[FoundISSNsSessionKey], NotFoundISSNs = (IEnumerable<string>)this.Session[NotFoundISSNsSessionKey] }; return this.View(model); }