/// <summary>
        /// Получить всех залогиненных пользователей
        /// </summary>
        /// <returns></returns>
        public async Task <Result <List <ActiveUserDto> > > GetActive()
        {
            Result <List <UserClientDto> > result = await _userManagementServiceClient.GetActive();

            if (result.IsFailure)
            {
                _logger.Warning($"GetActive. Active users not found. {result.ErrorMessage}");
                return(Result.Failure <List <ActiveUserDto> >(ErrorCodes.UserNotFound));
            }

            var activeUsers = _mapper.Map <List <UserDto> >(result.Value);
            var resultUsers = new List <ActiveUserDto>();

            foreach (var userClientDto in activeUsers)
            {
                List <CallClientDto> actualUserCalls = await GetActualUserCalls(userClientDto.Id);

                var activeUserInfo = ActiveUserDto.MapFromQueueEntity(userClientDto, actualUserCalls);
                resultUsers.Add(activeUserInfo);
            }

            return(Result.Success(resultUsers));
        }