public EditModel(BooksInfoContext infoContext, IHtmlHelper htmlHelper) { _infoContext = infoContext; _htmlHelper = htmlHelper; Types = _htmlHelper.GetEnumSelectList <BookType>(); }
public AuthorDeletionModel(BooksInfoContext infoContext) { _infoContext = infoContext; }
public AuthorDetailsModel(BooksInfoContext infoContext) { _infoContext = infoContext; }
public DetailModel(BooksInfoContext infoContext) { _infoContext = infoContext; }
public AddAuthorModel(BooksInfoContext booksInfo) { _booksInfo = booksInfo; }
public ListModel(BooksInfoContext booksInfoContext) { _booksInfoContext = booksInfoContext; }
public DeleteModel(BooksInfoContext booksInfoContext) { _booksInfoContext = booksInfoContext; }
public AuthorListModel(BooksInfoContext infoContext) { _infoContext = infoContext; }
public BooksController(BooksInfoContext context) { _context = context; }