public BookController(iBookStoreRepository <Book> bookRepository, iBookStoreRepository <Auther> autherRepository, IHostingEnvironment hosting) { this.bookRepository = bookRepository; this.autherRepository = autherRepository; this.hosting = hosting; }
public HomeController(ILogger <HomeController> logger, iBookStoreRepository repository) { _logger = logger; _repository = repository; }
public NavigationMenuViewComponents(iBookStoreRepository r) { repository = r; }
//Constructor public BuyModel(iBookStoreRepository repo, Cart cartService) { repository = repo; Cart = cartService; }
public AutherController(iBookStoreRepository <Auther> autherReposetory) { this.autherReposetory = autherReposetory; }