Ejemplo n.º 1
0
 public CardHandler()
 {
     try
     {
         _cardList = CardDataAccessor.RetreiveCardList();
     }
     catch (Exception)
     {
         throw;
     }
 } // End CardHandler()
Ejemplo n.º 2
0
 public CardInfo getCardInfo(int cardIndex)
 {
     //
     try
     {
         return(CardDataAccessor.RetreiveCardInfo(_cardList[cardIndex]));
     }
     catch (Exception)
     {
         throw new ApplicationException("Card Data Not Found.");
     }
 } // End of RetreiveCardInfo