示例#1
0
 /// <summary>
 /// Returns the current user context.
 /// </summary>
 protected async Task <UserContext> GetUserContextAsync(bool checkAuth = true)
 {
     return(await _ucm.GetUserContextAsync(HttpContext, checkAuth));
 }