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