public ActionResult Index(int personPrimaryInfoID)
        {
            MembershipAccountViewModel membershipAccountViewModel = new MembershipAccountViewModel();
            string[] usersEmails = unitOfWork.PersonContactInfoRepository.Get(x => x.PersonPrimaryInfoID == personPrimaryInfoID && x.EmailConfirmed).Select(x => x.Email).ToArray<string>();
            membershipAccountViewModel.ListOfVerifiedEmails = usersEmails.Select(x => new SelectListItem() { Text = x, Value = x });
            membershipAccountViewModel.PersonPrimaryInfo = unitOfWork.PersonPrimaryInfoRepository.GetByID(personPrimaryInfoID);

            return View(membershipAccountViewModel);
        }
        public ActionResult SetupMembershipWebAccount(MembershipAccountViewModel membershipAccountViewModel)
        {
            if (!String.IsNullOrWhiteSpace(membershipAccountViewModel.VerifiedEmail))
            {
                MembershipAccountLoginSetupViewModel membershipAccountLoginSetupViewModel = new MembershipAccountLoginSetupViewModel();
                membershipAccountLoginSetupViewModel.Email = membershipAccountViewModel.VerifiedEmail;
                membershipAccountLoginSetupViewModel.PersonPrimaryInfoID = membershipAccountViewModel.PersonPrimaryInfo.PersonPrimaryInfoID;
                membershipAccountLoginSetupViewModel.Password = "******";

                return RedirectToAction("SendNewWebAccountEmail", "Account", membershipAccountLoginSetupViewModel);
            }

            return RedirectToAction("Index", new { personPrimaryInfoID = membershipAccountViewModel .PersonPrimaryInfo.PersonPrimaryInfoID});
        }