Example #1
0
 public TransactionController(ITransactionContext transactionContext, IUserContext userContext, IAccountContext accountContext, ISavingsContext savingsContext, IFileProvider fileProvider)
 {
     _transactionLogic = new TransactionLogic(transactionContext);
     _userLogic        = new UserLogic(userContext);
     _accountLogic     = new AccountLogic(accountContext);
     _savingLogic      = new SavingLogic(savingsContext);
     _fileProvider     = fileProvider;
 }
Example #2
0
 public SavingLogic(ISavingsContext context)
 {
     Repository = new SavingsRepository(context);
 }
Example #3
0
 public AccountController(IAccountContext billContext, ISavingsContext savingsContext, IFileProvider fileProvider)
 {
     _accountLogic = new AccountLogic(billContext);
     _fileProvider = fileProvider;
     _savingLogic  = new SavingLogic(savingsContext);
 }
Example #4
0
 public SavingsController(ISavingsContext context, IAccountContext accountContext, IFileProvider fileProvider)
 {
     _savingLogic  = new SavingLogic(context);
     _fileProvider = fileProvider;
     _accountLogic = new AccountLogic(accountContext);
 }
Example #5
0
 public SavingsRepository(ISavingsContext context)
 {
     _context = context;
 }