public virtual PartialViewResult List(Guid activityId) { var subscribs = _subscribeService.Get(activityId).ToList(); var subscribersNames = subscribs.Count > 0 ? _intranetMemberService.GetMany(subscribs.Select(s => s.UserId)).Select(u => u.DisplayedName) : Enumerable.Empty <string>(); return(PartialView(ListViewPath, subscribersNames)); }