Beispiel #1
0
        private List <CreditCard> GetDefaultCards()
        {
            var retriever = new AXRertrieveCreditCards();
            var result    = retriever.GetAllPaidByUsCreditCards();

            return(result);
        }
Beispiel #2
0
        public void GetAxCards()
        {
            var retreive = new AXRertrieveCreditCards();
            var result   = retreive.GetAllPaidByUsCreditCards();

            Assert.IsTrue(result.Count > 0);
        }
Beispiel #3
0
        public List <CreditCard> GetAllCards()
        {
            var handler   = new MongoDBHandler();
            var retriever = new AXRertrieveCreditCards();
            var cards     = retriever.GetAllPaidByUsCreditCards();

            foreach (var card in cards) //Check if image exists in DB.
            {
                card.ImageExist = handler.IsImageExist(card.ComputeHashForImage());
            }

            return(cards);
        }