Пример #1
0
        public UserDto Get()
        {
            if (_security.LoggedInUserId != Guid.Empty && _security.LoggedInUserId != null)
            {
                return(_mapper.Map <UserDto>(_logic.GetUser(_security.LoggedInUserId)));
            }

            throw new UnauthorizedAccessException();
        }