private static void AddNewRecords(IList <Books> books) { using (var repo = new BooksRepo()) { repo.AddRange(books); } }