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