常用方法
常用方法
常用方法
常用方法
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)); }