From 2ccc99414111367c44d719b7cd863054974b56e8 Mon Sep 17 00:00:00 2001 From: Natalia Portillo Date: Sun, 17 Nov 2019 23:45:43 +0000 Subject: [PATCH] Remove details from tested sequential medias. --- .../TestedSequentialMediasController.cs | 19 ---- .../TestedSequentialMedias/Details.cshtml | 99 ------------------- 2 files changed, 118 deletions(-) delete mode 100644 DiscImageChef.Server/Areas/Admin/Views/TestedSequentialMedias/Details.cshtml diff --git a/DiscImageChef.Server/Areas/Admin/Controllers/TestedSequentialMediasController.cs b/DiscImageChef.Server/Areas/Admin/Controllers/TestedSequentialMediasController.cs index 3fe96f9b..bffe53bb 100644 --- a/DiscImageChef.Server/Areas/Admin/Controllers/TestedSequentialMediasController.cs +++ b/DiscImageChef.Server/Areas/Admin/Controllers/TestedSequentialMediasController.cs @@ -20,25 +20,6 @@ namespace DiscImageChef.Server.Areas.Admin.Controllers View(await _context.TestedSequentialMedia.OrderBy(m => m.Manufacturer).ThenBy(m => m.Model). ThenBy(m => m.MediumTypeName).ToListAsync()); - // GET: Admin/TestedSequentialMedias/Details/5 - public async Task Details(int? id) - { - if(id == null) - { - return NotFound(); - } - - TestedSequentialMedia testedSequentialMedia = - await _context.TestedSequentialMedia.FirstOrDefaultAsync(m => m.Id == id); - - if(testedSequentialMedia == null) - { - return NotFound(); - } - - return View(testedSequentialMedia); - } - // GET: Admin/TestedSequentialMedias/Edit/5 public async Task Edit(int? id) { diff --git a/DiscImageChef.Server/Areas/Admin/Views/TestedSequentialMedias/Details.cshtml b/DiscImageChef.Server/Areas/Admin/Views/TestedSequentialMedias/Details.cshtml deleted file mode 100644 index 1dc56db1..00000000 --- a/DiscImageChef.Server/Areas/Admin/Views/TestedSequentialMedias/Details.cshtml +++ /dev/null @@ -1,99 +0,0 @@ -@model DiscImageChef.CommonTypes.Metadata.TestedSequentialMedia - -@{ - Layout = "~/Areas/Admin/Views/Shared/_Layout.cshtml"; - ViewBag.Title = "DiscImageChef"; -} -@{ - // /*************************************************************************** - // The Disc Image Chef - // ---------------------------------------------------------------------------- - // - // Filename : Details.cshtml - // Author(s) : Natalia Portillo - // - // Component : DiscImageChef Server. - // - // --[ License ] -------------------------------------------------------------- - // - // This library is free software; you can redistribute it and/or modify - // it under the terms of the GNU Lesser General Public License as - // published by the Free Software Foundation; either version 2.1 of the - // License, or (at your option) any later version. - // - // This library is distributed in the hope that it will be useful, but - // WITHOUT ANY WARRANTY; without even the implied warranty of - // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - // Lesser General Public License for more details. - // - // You should have received a copy of the GNU Lesser General Public - // License along with this library; if not, see . - // - // ---------------------------------------------------------------------------- - // Copyright © 2011-2019 Natalia Portillo - // ****************************************************************************/ -} -
-

TestedSequentialMedia

-
-
-
- @Html.DisplayNameFor(model => model.CanReadMediaSerial) -
-
- @Html.DisplayFor(model => model.CanReadMediaSerial) -
-
- @Html.DisplayNameFor(model => model.Density) -
-
- @Html.DisplayFor(model => model.Density) -
-
- @Html.DisplayNameFor(model => model.Manufacturer) -
-
- @Html.DisplayFor(model => model.Manufacturer) -
-
- @Html.DisplayNameFor(model => model.MediaIsRecognized) -
-
- @Html.DisplayFor(model => model.MediaIsRecognized) -
-
- @Html.DisplayNameFor(model => model.MediumType) -
-
- @Html.DisplayFor(model => model.MediumType) -
-
- @Html.DisplayNameFor(model => model.MediumTypeName) -
-
- @Html.DisplayFor(model => model.MediumTypeName) -
-
- @Html.DisplayNameFor(model => model.Model) -
-
- @Html.DisplayFor(model => model.Model) -
-
- @Html.DisplayNameFor(model => model.ModeSense6Data) -
-
- @Html.DisplayFor(model => model.ModeSense6Data) -
-
- @Html.DisplayNameFor(model => model.ModeSense10Data) -
-
- @Html.DisplayFor(model => model.ModeSense10Data) -
-
-
- \ No newline at end of file