コード例 #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();
 }