public async Task AddNewLocation(Location location) { await Locations.AddAsync(location); await _context.SaveChangesAsync(); }
public async Task AddOrder(Order order) { await Orders.AddAsync(order); await _context.SaveChangesAsync(); }
public async Task AddItem(Item item) { await Items.AddAsync(item); await _context.SaveChangesAsync(); }
public async Task AddNewSupplier(Supplier supplier) { await Suppliers.AddAsync(supplier); await _context.SaveChangesAsync(); }
public async Task AddNewCustomerLocation(CustomerLocation customerLocation) { await CustomerLocations.AddAsync(customerLocation); await _context.SaveChangesAsync(); }
public async Task AddNewProduct(Product product) { await Products.AddAsync(product); await _context.SaveChangesAsync(); }
public async Task AddNewKind(Kind kind) { await Kinds.AddAsync(kind); await _context.SaveChangesAsync(); }
public async Task AddNewAdministrator(Administrator administrator) { await Administrators.AddAsync(administrator); await _context.SaveChangesAsync(); }
public async Task AddNewCustomer(Customer customer) { await Customers.AddAsync(customer); await _context.SaveChangesAsync(); }
public async Task AddNewProductSupplier(ProductSupplier ps) { await ProductSuppliers.AddAsync(ps); await _context.SaveChangesAsync(); }