Exemple #1
0
        private User GetLoginSessionUser()
        {
            Guid?userId = _loginManager.GetLoginSessionUserId();

            if (userId.HasValue)
            {
                return(_userService.GetLoginSessionUser(userId.Value));
            }

            return(null);
        }