public void Add(Purchase purchase) { _context.Purchases.Add(purchase); _context.SaveChanges(); }
public void Add(CreditCard newCreditCard) { _context.CreditCards.Add(newCreditCard); _context.SaveChanges(); }