Esempio n. 1
0
        public async Task <IActionResult> Index()
        {
            ViewData["institutions"] = await _institutionService.GetAll();

            ViewData["sumOfBag"] = await _donationService.DonationCount();

            ViewData["sumOfInstitions"] = await _donationService.DonatedInstitionsCount();

            return(View());
        }