예제 #1
0
 public async Task ConfirmEdit(Product product)
 {
     _context.Update(product);
     await _context.SaveChangesAsync();
 }
예제 #2
0
 public async Task ConfirmEdit(Category category)
 {
     _context.Update(category);
     await _context.SaveChangesAsync();
 }