public BooksController(IBookRepositry bookRepositry
                        , ICategoriesRepositry categories,
                        IWebHostEnvironment hostEnvironment)
 {
     this.bookRepositry   = bookRepositry;
     this.categories      = categories;
     this.hostEnvironment = hostEnvironment;
 }
Ejemplo n.º 2
0
 public CategoriesController(ICategoriesRepositry categoriesRepositry)
 {
     CategoriesRepositry = categoriesRepositry;
 }
 public CategoriesApiController(ICategoriesRepositry categories)
 {
     this.categories = categories;
 }