private static void AddNewRecords(IList <Inventory> cars) { using (var repo = new InventoryRepo()) { repo.AddRange(cars); } }
private static void AddNewRecords(IList<Inventory> cars) { // Add record to the Inventory table of the AutoLot database. using (var repo = new InventoryRepo()) { repo.AddRange(cars); } }
private static void AddNewRecords(IList <Inventory> cars) { //Add Records to the inventory table of the Autolot //database using (var repo = new InventoryRepo()) { repo.AddRange(cars); } }