-1
例外:未將對象引用設置爲對象的實例。在UserManager.GetRoles(Convert.ToInt32(userid))上獲取空例外
{System.NullReferenceException: Object reference not set to an instance of an object.
at System.Web.HttpContextExtensions.GetOwinEnvironment(HttpContext context)
at System.Web.HttpContextExtensions.GetOwinContext(HttpContext context)