private IEnumerable <BookWithoutAttributes> FillBookWithoutAttributesData(int count) { Random rnd = new Random((int)DateTime.Now.Ticks); List <BookWithoutAttributes> books = new List <BookWithoutAttributes>(); for (int i = 0; i < count; i++) { BookWithoutAttributes book = new BookWithoutAttributes(); FillBookData(book, rnd, i); books.Add(book); } return(books); }
private IEnumerable<BookWithoutAttributes> FillBookWithoutAttributesData(int count) { Random rnd = new Random((int)DateTime.Now.Ticks); List<BookWithoutAttributes> books = new List<BookWithoutAttributes>(); for (int i = 0; i < count; i++) { BookWithoutAttributes book = new BookWithoutAttributes(); FillBookData(book, rnd, i); books.Add(book); } return books; }