public void AddWarehouse(Warehouse warehouse) { Debug.Assert(warehouse != null, "The given warehouse argument should not be null"); db.Warehouses.Add(warehouse); db.SaveChanges(); }
public void AddRegion(Region region) { db.Regions.Add(region); db.SaveChanges(); }