mirror of
https://github.com/claunia/marechai.git
synced 2025-12-16 19:14:25 +00:00
Add instruction set details in admin view.
This commit is contained in:
@@ -15,6 +15,8 @@ namespace Marechai.Services
|
||||
public async Task<List<InstructionSet>> GetAsync() =>
|
||||
await _context.InstructionSets.OrderBy(s => s.Name).ToListAsync();
|
||||
|
||||
public async Task<InstructionSet> GetAsync(int id) => await _context.InstructionSets.FindAsync(id);
|
||||
|
||||
public async Task DeleteAsync(int id)
|
||||
{
|
||||
InstructionSet item = await _context.InstructionSets.FindAsync(id);
|
||||
|
||||
Reference in New Issue
Block a user