Exemple #1
0
 public UserStorage GetUser()
 {
     return(UserReader.GetUser(httpContextAccessor.HttpContext));
 }
Exemple #2
0
        public static UserStorage GetUser(HttpContext httpContext)
        {
            var reader = new UserReader(httpContext);

            return(reader.GetUser());
        }