public async Task UpdateAsync(Client client) { context.Update(client); await context.SaveChangesAsync(); }
public async Task UpdateAsync(Product product) { context.Update(product); await context.SaveChangesAsync(); }