public virtual DataResultUserActivate ActivateAccount(MembershipUserWrapper user, Guid activateUserToken)
        {
            MembershipUser userMembership = user.GetMembershipUser();
            userMembership.IsApproved = true;
            Membership.UpdateUser(userMembership);
            return new DataResultUserActivate()
            {
                IsValid = true,
                Message = UserAdminTexts.UserAccountActivated,
                Data = new AccountActivationModel()
                {
                    ActivateUserToken = activateUserToken,
                    User = new MembershipUserWrapper(userMembership)

                }
            };
        }
 public virtual DataResultBoolean UpdateUser(MembershipUserWrapper user)
 {
     Membership.UpdateUser(user.GetMembershipUser());
     return new DataResultBoolean()
     {
         Data = true,
         Message = Resources.UserAdministration.UserAdminTexts.UserSaved
     };
 }
 public virtual DataResultUserCantAccess ResetPassword(MembershipUserWrapper user, string newPassword, string confirmNewPassword)
 {
     string currentPassword = user.GetMembershipUser().ResetPassword();
     bool result = user.GetMembershipUser().ChangePassword(currentPassword, newPassword);
     CantAccessMyAccountModel resultModel = new CantAccessMyAccountModel();
     resultModel.User = user;
     return new DataResultUserCantAccess() {
          Data = resultModel,
          IsValid = result,
          Message = AccountResources.CantAccessYourAccount_PasswordChanged
     };
 }