public Book(IBookService bookService, MyBooksContext context, ICategory category, IAuthor author, IPublisher publisher) { _bookService = bookService; _context = context; _category = category; _author = author; _publisher = publisher; }
public Author(MyBooksContext context) { _context = context; }
public BookService(MyBooksContext context) { _context = context; }
public Category(MyBooksContext context) { _context = context; }
public BookList(MyBooksContext context, IBook book, IStringLocalizer <BookList> localizer) { _context = context; _book = book; _localizer = localizer; }
public Publisher(MyBooksContext context) { _context = context; }