Пример #1
0
 public void AddGetAllCardTest()
 {
     Assert.AreEqual(3, service.GetAllCreditCards().Count());
     service.AddCreditCard(creditCard);
     Assert.AreEqual(4, service.GetAllCreditCards().Count());
     Assert.AreEqual(creditCard.CreditCardID, service.GetAllCreditCards().Last().CreditCardID);
 }
Пример #2
0
 public void AddCard(CardModel card)
 {
     service.AddCreditCard(card);
 }
Пример #3
0
 public void AddCard(Model card)
 {
     service.AddCreditCard((ICreditCard)card);
 }