Beispiel #1
0
 public InMemoryInvoiceRepository(InMemoryDbContext context, ICardHolderRepository cardHolders, IWalletRepository wallets)
 {
     _db          = context;
     _cardHolders = cardHolders;
     _wallets     = wallets;
 }
Beispiel #2
0
 public PersistedInvoiceRepository(MelonPayDbContext context, ICardHolderRepository cardHolders, IWalletRepository wallets)
 {
     _db          = context;
     _cardHolders = cardHolders;
     _wallets     = wallets;
 }
 public CardHoldersController(ICardHolderRepository repo)
 {
     _cardHolders = repo;
 }