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