Add button to update compact disc offsets.

This commit is contained in:
2019-11-10 14:07:14 +00:00
parent dbbe30f3e0
commit a4782acc8f
2 changed files with 7 additions and 0 deletions

View File

@@ -1,3 +1,4 @@
using System;
using System.Linq;
using System.Threading.Tasks;
using DiscImageChef.Server.Models;
@@ -121,5 +122,10 @@ namespace DiscImageChef.Server.Areas.Admin.Controllers
}
bool CompactDiscOffsetExists(int id) => _context.CdOffsets.Any(e => e.Id == id);
public IActionResult Update()
{
throw new NotImplementedException();
}
}
}

View File

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