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