private PasswordResetModel MapPasswordReset(UserProfile userProfile)
{
return new PasswordResetModel
{
FirstName = userProfile.FirstName,
Email = userProfile.Email,
ActivationPin = userProfile.ActivationPin,
Url = Url.ToPublicUrl(Url.Action("UpdatePassword", "Account", new { hash = userProfile.ActivationHash }))
};
}