Example #1
0
 public HomeController()
 {
     _catService = new CategoryService();
     _bookService = new BookService();
     _authorService = new AuthorService();
 }
Example #2
0
 public AuthorController()
 {
     _authorService = new AuthorService();
 }