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