public int AddCreditCard(CreditCardViewModel cc)
        {
            _context.CreditCards.Add(new CreditCard()
            {
                CardNumber = cc.CardNumber, ExpiryDate = cc.ExpiryDate
            });

            return(_context.SaveChanges());
        }
 public int AddCreditCard(CreditCardViewModel cc)
 {
     return(_creditCardRepository.AddCreditCard(cc));
 }