public async Task ConfirmEdit(Product product) { _context.Update(product); await _context.SaveChangesAsync(); }
public async Task ConfirmEdit(Category category) { _context.Update(category); await _context.SaveChangesAsync(); }
public async Task ConfirmEdit(Product product) { _context.Update(product); await _context.SaveChangesAsync(); }
public async Task ConfirmEdit(Category category) { _context.Update(category); await _context.SaveChangesAsync(); }