public static MvcHtmlString GetUserName(this HtmlHelper html, string id)
        {
            AppUserManager mgr = HttpContext.Current.GetOwinContext().GetUserManager <AppUserManager>();

            return(new MvcHtmlString(mgr.FindByIdAsync(id).Result.UserName));
        }
 public UserValidatorOverridden(string emailDomain, AppUserManager userManager) : base(userManager)
 {
     _emailDomain = emailDomain;
 }