public NavMenuViewComponent(ICongoRepository repo)
 {
     repository = repo;
 }
Esempio n. 2
0
 public HomeController(ILogger <HomeController> logger, ICongoRepository repository)
 {
     _logger     = logger;
     _repository = repository;
 }
Esempio n. 3
0
 //Constructor
 public CheckoutModel(ICongoRepository repo, Cart cartService)
 {
     repository = repo;
     Cart       = cartService;
 }