Esempio n. 1
0
        public void loadDataLocal()
        {
            TickerConnection tickerConnection = new TickerConnection();

            this.listTicker = tickerConnection.getAllTicker();
            listenChange();
        }
Esempio n. 2
0
        public bool updateTicker(TickerInfo ticker, String id)
        {
            TickerConnection tickerConnection = new TickerConnection();
            bool             result           = tickerConnection.updateInfoTicker(ticker, id);

            if (result)
            {
                loadDataLocal();
                return(true);
            }
            return(false);
        }
Esempio n. 3
0
        public bool removeTicker(TickerInfo ticker)
        {
            TickerConnection tickerConnection = new TickerConnection();
            bool             result           = tickerConnection.deleteTicker(ticker);

            if (result)
            {
                loadDataLocal();
                return(true);
            }
            return(false);
        }