public async Task Add(Product product) { await context.Products.AddAsync(product); await context.SaveChangesAsync(); }
public async Task Add(Client client) { await context.AddAsync(client); await context.SaveChangesAsync(); }
public async Task Add(Payment payment) { await context.AddAsync(payment); await context.SaveChangesAsync(); }
public async Task Add(Order order) { await context.AddAsync(order); await context.SaveChangesAsync(); }
public async Task Add(Category category) { await context.AddAsync(category); await context.SaveChangesAsync(); }