public HomeController(ILogger <HomeController> logger, IBookService bookService, IBrandService brandService, ILanguageService languageService, IGenreService genreService, IGenreBookService genreBookService, IAuthorService authorService, IAuthorBookService authorBookService) { _logger = logger; this.bookService = bookService; this.brandService = brandService; this.languageService = languageService; this.genreService = genreService; this.genreBookService = genreBookService; this.authorService = authorService; this.authorBookService = authorBookService; }
public ValuesController(IAuthorBookService authorBookService) { _authorBookService = authorBookService; authorBookService.AddAuthor(); }