private void Commit() => _context.SaveChangesAsync();
public Task AddAsync(Product product) { _dbContext.Products.Add(product); return(_dbContext.SaveChangesAsync()); }
private void Commit() => _context.SaveChangesAsync();
public Task AddAsync(Product product) { _dbContext.Products.Add(product); return(_dbContext.SaveChangesAsync()); }