public Result execute(Command command) {
        Set<AccountDTO> accountDTOget = (Set<AccountDTO>) command.getCommandSource();
        Set<MessageStatuss> messageStatuss = new HashSet<MessageStatuss>();
        List<Account> accountId = new ArrayList<Account>();
        for (Iterator<AccountDTO> it = accountDTOget.iterator(); it.hasNext();) {
            accountId.add(accountDAO.getAccount(it.next().getId()));

        }
        messageStatuss.addAll(messageStatusDAO.getMessageStatussByAccount(accountId));
        System.out.println("Coutn message " + messageStatuss.size());
        List<MessageStatussDTO> messageStatussDTOs = new ArrayList<MessageStatussDTO>();
        for (Iterator<MessageStatuss> it = messageStatuss.iterator(); it.hasNext();) {
            MessageStatuss ms = it.next();
            messageStatussDTOs.add(ms.toMessageStatusDTO());
        }
        result.setResult(messageStatussDTOs);

        return result;
    }