//this passes into the homecontroller the logger and the repository
 public HomeController(ILogger <HomeController> logger, ILetriniaRepository repository)
 {
     _logger     = logger;
     _repository = repository;
 }
Esempio n. 2
0
        //constructor


        public DonateModel(ILetriniaRepository repo, Cart cartService)
        {
            repository = repo;
            Cart       = cartService;
        }
 public NavigationMenuViewComponent(ILetriniaRepository r)
 {
     repository = r;
 }