public virtual PartialViewResult GetCurrentActiveMembers() { var viewModel = new ActiveMembersViewModel { ActiveMembers = MembershipService.GetActiveMembers() }; return(PartialView(viewModel)); }
public PartialViewResult GetCurrentActiveMembers() { var viewModel = new ActiveMembersViewModel { ActiveMembers = MemberService.GetActiveMembers() }; return(PartialView(PathHelper.GetThemePartialViewPath("GetCurrentActiveMembers"), viewModel)); }
public PartialViewResult GetCurrentActiveMembers() { using (UnitOfWorkManager.NewUnitOfWork()) { var viewModel = new ActiveMembersViewModel { ActiveMembers = MembershipService.GetActiveMembers() }; return PartialView(viewModel); } }