public ActionResult Details(string Volunteerid) { if (string.IsNullOrEmpty(Volunteerid)) { return (View("Review")); } int VolID = Convert.ToInt32(Volunteerid); Models.VolunteerRepository repo = new VolunteerRepository(); return View("Details", repo.GetVolunteer(VolID)); }