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