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

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