public CustomUserValidator(AppUserManager mgr) : base(mgr) { }
public static MvcHtmlString GetUserName(this HtmlHelper html, string id) { AppUserManager mgr = HttpContext.Current.GetOwinContext().GetUserManager <AppUserManager>(); return(new MvcHtmlString(mgr.FindByIdAsync(id).Result.UserName)); }