string IUserResolver.GetUser(IHttpContext context)
 {
     return(UserResolver.GetUser(context));
 }
Beispiel #2
0
        public override void OnActionExecuting(ActionExecutingContext context)
        {
            currentUser = userResolver.GetUser().Result;

            base.OnActionExecuting(context);
        }
Beispiel #3
0
 public async Task <IActionResult> Index() => base.View(await userResolver.GetUser());