Esempio n. 1
0
        public virtual PartialViewResult LatestMembersJoined()
        {
            var viewModel = new ListLatestMembersViewModel();
            var users     = MembershipService.GetLatestUsers(10).ToDictionary(o => o.UserName, o => o.NiceUrl);

            viewModel.Users = users;
            return(PartialView(viewModel));
        }
Esempio n. 2
0
 public PartialViewResult LatestMembersJoined()
 {
     var viewModel = new ListLatestMembersViewModel();
     var users = MembershipService.GetLatestUsers(10).ToDictionary(o => o.UserName, o => o.NiceUrl);
     viewModel.Users = users;
     return PartialView(viewModel);
 }