コード例 #1
0
        public ActionResult List()
        {
            var repository = new VolunteerRepository();
            var volunteers = repository.GetAllVolunteers().ToList();

            return View(volunteers);
        }
コード例 #2
0
 public ActionResult Review()
 {
     Models.VolunteerRepository repo = new VolunteerRepository();
     return View(repo.GetAllVolunteers());
 }