Esempio n. 1
0
 public Task UpdateVirtualMachineAsync(VirtualMachine virtualMachine)
 {
     _context.Entry(virtualMachine).State = EntityState.Modified;
     return(Task.CompletedTask);
 }
Esempio n. 2
0
 public Task UpdateAsync(Customer customer)
 {
     _context.Entry(customer).State = EntityState.Modified;
     return(Task.CompletedTask);
 }