string IUserResolver.GetUser(IHttpContext context) { return(UserResolver.GetUser(context)); }
public override void OnActionExecuting(ActionExecutingContext context) { currentUser = userResolver.GetUser().Result; base.OnActionExecuting(context); }
public async Task <IActionResult> Index() => base.View(await userResolver.GetUser());