Exemple #1
0
        public ActionResult ActivityDetails(int activityID)
        {
            ActivityDetailsViewModel activity = new ActivityDetailsViewModel();

            activity.Activity  = _activityManager.RetrieveActivityByID(activityID);
            activity.Attendees = _userManager.SelectUsersByActivityID(activityID);
            ViewBag.Title      = activity.Activity.ActivityName + "Details";
            return(View(activity));
        }