public void AddCard(CardDetails card) { var _cardDetails = new CardDetails { CardDetailsID = 4, CardNumber = "2223 0000 1047 9399", Cvv = "299", HolderName = "ADDTEST", ExpiryMonth = "11", ExpiryYear = "21" }; CardDetails.Add(_cardDetails); }