コード例 #1
0
 public Task ModifiedAsync(Product_item product_Item)
 {
     _context.Entry(product_Item).State = EntityState.Modified;
     return(_context.SaveChangesAsync());
 }
 public Task ModifiedAsync(Employee employee)
 {
     _context.Entry(employee).State = EntityState.Modified;
     return(_context.SaveChangesAsync());
 }