コード例 #1
0
        /// <inheritdoc />
        public CurrentUserDTO GetCurrentUser()
        {
            if (!_webSecurityWrapper.IsUserLoggedIn())
            {
                throw new UserNotLoggedInException();
            }

            return(_webSecurityWrapper.GetCurrentUser());
        }