Esempio n. 1
0
 public SaveAmountRecordUseCaseTests()
 {
     _accountWriteOnlyRepository = new Mock <IAccountWriteOnlyRepository>();
     _accountReadOnlyRepository  = new Mock <IAccountReadOnlyRepository>();
     _saveAmountRecordUseCase    = new SaveAmountRecordUseCase(_accountReadOnlyRepository.Object, _accountWriteOnlyRepository.Object);
 }
Esempio n. 2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="useCase"></param>
 public InvestmentController(ISaveAmountRecordUseCase useCase)
 {
     _useCase = useCase;
 }
Esempio n. 3
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="useCase"></param>
 public IncomeController(ISaveAmountRecordUseCase useCase)
 {
     _useCase = useCase;
 }
Esempio n. 4
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="useCase"></param>
 public ExpenseController(ISaveAmountRecordUseCase useCase)
 {
     _useCase = useCase;
 }