Пример #1
0
        public BooksController(VBSContext context)
        {
            _context = context;

            if (_context.BookItems.Count() == 0)
            {
                // Populates a initial list of books
                CommonOperations.AddBooks(_context);
            }
        }