Esempio n. 1
0
        public static MvcHtmlString GetUserName(this HtmlHelper html, string id)
        {
            BusinessUserManager mgr = HttpContext.Current.GetOwinContext().GetUserManager <BusinessUserManager>();

            return(new MvcHtmlString(mgr.FindByIdAsync(id).Result.UserName));
        }