예제 #1
0
        private static List<BookDto> GetBookDtos()
        {
            BookRepository repository = new BookRepository();

            var bookDtos = repository.GetAllBookDtos();
            return bookDtos;
        }
예제 #2
0
        public void GenerateJsonDataFile()
        {
            BookRepository repository = new BookRepository();

            var books = repository.GetAllBookDtos();
        }