예제 #1
0
 public NavMenuViewComponent(ICongoRepository repo)
 {
     repository = repo;
 }
예제 #2
0
 public HomeController(ILogger <HomeController> logger, ICongoRepository repository)
 {
     _logger     = logger;
     _repository = repository;
 }
예제 #3
0
 //Constructor
 public CheckoutModel(ICongoRepository repo, Cart cartService)
 {
     repository = repo;
     Cart       = cartService;
 }