/// <summary>
 /// The has password.
 /// </summary>
 /// <param name="manager">
 /// The manager.
 /// </param>
 /// <returns>
 /// The <see cref="bool"/>.
 /// </returns>
 private bool HasPassword(UserManager manager)
 {
     return manager.HasPassword(this.User.Identity.GetUserId());
 }
 private bool HasPassword(UserManager<MyUser, long> manager)
 {
     return manager.HasPassword(long.Parse(User.Identity.GetUserId()));
 }