Ejemplo n.º 1
0
 public Book(IBookService bookService, MyBooksContext context, ICategory category, IAuthor author, IPublisher publisher)
 {
     _bookService = bookService;
     _context     = context;
     _category    = category;
     _author      = author;
     _publisher   = publisher;
 }
Ejemplo n.º 2
0
 public Author(MyBooksContext context)
 {
     _context = context;
 }
        public BookService(MyBooksContext context)

        {
            _context = context;
        }
Ejemplo n.º 4
0
 public Category(MyBooksContext context)
 {
     _context = context;
 }
Ejemplo n.º 5
0
 public BookList(MyBooksContext context, IBook book, IStringLocalizer <BookList> localizer)
 {
     _context   = context;
     _book      = book;
     _localizer = localizer;
 }
Ejemplo n.º 6
0
 public Publisher(MyBooksContext context)
 {
     _context = context;
 }