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