private static void AddNewRecords(IList <Customer> customers) { using (var repo = new CustomerRepo()) { repo.AddRange(customers); } }