public RespositoryFixture()
 {
     AccountRepo = new AccountRepository();
     LedgerRepo  = new LedgerRepository();
 }
Exemple #2
0
 public LedgerController(ILedgerRepo repository, IMapper mapper)
 {
     _repository = repository;
     _mapper     = mapper;
 }
Exemple #3
0
 public SavingAccountTest(RespositoryFixture repofixture)
 {
     AccountRepo = repofixture.AccountRepo;
     LedgerRepo  = repofixture.LedgerRepo;
 }
Exemple #4
0
 public CurrentAccountsTest(RespositoryFixture repofixture)
 {
     AccountRepo = repofixture.AccountRepo;
     LedgerRepo  = repofixture.LedgerRepo;
 }
Exemple #5
0
 public LedgerController(ILedgerRepo ledger)
 {
     ledgerRepo = ledger;
 }