public ActionResult Index() { var draftList = new List <DraftListViewModel>(); using (var sl = new SystemLogic()) { var authMember = GetAuthorizedMember(); var drafts = sl.GetDraftList(); foreach (var draft in drafts) { var dlvm = new DraftListViewModel { CreatorId = draft.Owner.Id, CreatorName = sl.GetMember(draft.Owner.Id).FullName, Id = draft.Id, Name = draft.Name }; if (authMember != null) { dlvm.AmIMemberOf = sl.IsMemberOfDraft (authMember.Id, draft.Id); } draftList.Add(dlvm); } } return(View(draftList)); }