Exemplo n.º 1
0
        public IActionResult Index()
        {
            ViewData["AlleCategorien"] = _categorieRepository.GetAll().ToList();

            return(View(new IndexViewModel(_bonRepository.GetTop30(_bonRepository.GetAllGoedgekeurd().ToList()).ToList(), _bonRepository.GetBonnenAanbiedingSlider(_bonRepository.GetAllGoedgekeurd().ToList()).ToList(), _categorieRepository.GetTop9WithAmount())));
        }
Exemplo n.º 2
0
 public IActionResult CadeaubonOverzicht()
 {
     return(View(new CadeaubonOverzichtViewModel(_bonRepository.GetAllGoedgekeurd())));
 }