public IActionResult Get([FromServices] IGetBooks query, [FromQuery] BookSearch search)
 {
     return(Ok(_executor.ExecuteQuery(query, search)));
 }
 public PublicationCartController(IGetBooks bookRepository, PublicationCart publicationCart)
 {
     _bookRepository  = bookRepository;
     _publicationCart = publicationCart;
 }
 public BookController(IGetBooks getBooks, IBooksCategory booksCategory)
 {
     _getBooks      = getBooks;
     _booksCategory = booksCategory;
 }
Exemple #4
0
 public HomeController(IGetBooks getBooks)
 {
     _getBooks = getBooks;
 }
 public ItemController(IGetBooks getBooks)
 {
     _getBooks = getBooks;
 }