Beispiel #1
0
 private async void GetChargedList()
 {
     try
     {
         string chargedJson = xmlDb.GetChargsList();
         _chargedList = await cardrepo.GetChargedList(chargedJson);
     }
     catch (Exception es)
     {
         Log.Info("Release", "txtRecognizer.SetProcessor " + es.Message);
     }
 }
Beispiel #2
0
        private async Task <List <Card> > GetSavedCardList()
        {
            List <Card> lst = new List <Card>();

            try
            {
                string cardsJsone = xmlDb.GetChargsList();
                lst = await cardrepo.GetChargedList(cardsJsone);
            }
            catch (Exception ex)
            {
                Log.Error("GetUserSetting", ex.Message);
            }
            return(lst);
        }