Esempio n. 1
0
        public ActionResult List()
        {
            if (!Session.IsSignedIn())
            {
                return(RedirectToAction("Index", "Home"));
            }

            var model = new DonorListViewModel
            {
                Donors = donorService.FindAll()
            };

            return(View(model));
        }