Add button to consolidate firewires.

This commit is contained in:
2019-11-10 23:15:27 +00:00
parent 161131bb9d
commit 6b2dcbf679
2 changed files with 4 additions and 0 deletions

View File

@@ -1,3 +1,4 @@
using System;
using System.Linq; using System.Linq;
using System.Threading.Tasks; using System.Threading.Tasks;
using DiscImageChef.CommonTypes.Metadata; using DiscImageChef.CommonTypes.Metadata;
@@ -102,5 +103,7 @@ namespace DiscImageChef.Server.Areas.Admin.Controllers
} }
bool FireWireExists(int id) => _context.FireWire.Any(e => e.Id == id); bool FireWireExists(int id) => _context.FireWire.Any(e => e.Id == id);
public IActionResult Consolidate() => throw new NotImplementedException();
} }
} }

View File

@@ -33,6 +33,7 @@
// Copyright © 2011-2019 Natalia Portillo // Copyright © 2011-2019 Natalia Portillo
// ****************************************************************************/ // ****************************************************************************/
} }
<a asp-action="Consolidate" class="btn btn-primary">Consolidate</a>
<table class="table"> <table class="table">
<thead> <thead>
<tr> <tr>