예제 #1
0
 private async Task UpdateSecondaryTileIfHas(DeckInformation deck)
 {
     try
     {
         await TilesHelper.UpdateTile(deck.Id.ToString(), deck.NewCards.ToString(), deck.DueCards.ToString());
     }
     catch (Exception e)
     { //App should not crash if any error happen
         Debug.WriteLine("DeckListViewModel.DeleteSecondaryTileIfHas: " + e.Message);
     }
 }