Пример #1
0
        public virtual PartialViewResult GetCurrentActiveMembers()
        {
            var viewModel = new ActiveMembersViewModel
            {
                ActiveMembers = MembershipService.GetActiveMembers()
            };

            return(PartialView(viewModel));
        }
Пример #2
0
        public PartialViewResult GetCurrentActiveMembers()
        {
            var viewModel = new ActiveMembersViewModel
            {
                ActiveMembers = MemberService.GetActiveMembers()
            };

            return(PartialView(PathHelper.GetThemePartialViewPath("GetCurrentActiveMembers"), viewModel));
        }
Пример #3
0
 public PartialViewResult GetCurrentActiveMembers()
 {
     using (UnitOfWorkManager.NewUnitOfWork())
     {
         var viewModel = new ActiveMembersViewModel
         {
             ActiveMembers = MembershipService.GetActiveMembers()
         };
         return PartialView(viewModel);
     }
 }