public TransactionService( Func <IUnitOfWork> unitOfWork, IBankAccountCalculationService bankAccountCalculationService, IUserIdProvider userIdProvider) { _unitOfWork = unitOfWork; _bankAccountCalculationService = bankAccountCalculationService; _userIdProvider = userIdProvider; }
public ImportService( Func <IUnitOfWork> unitOfWork, IUserIdProvider userIdProvider, IBankFileImportHandler bankFileImportHandler, IBankAccountCalculationService bankAccountService) { _unitOfWork = unitOfWork; _userIdProvider = userIdProvider; _bankFileImportHandler = bankFileImportHandler; _bankAccountCalculationService = bankAccountService; }
public DemoUserSeed( ILogger logger, Lazy <CategorySeed> categorySeed, IBankAccountCalculationService bankAccountCalculationService, IAuthenticationService authenticationService, Func <IUnitOfWork> unitOfWork) { _random = new Random(); _logger = logger; _categorySeed = categorySeed; _bankAccountCalculationService = bankAccountCalculationService; _authenticationService = authenticationService; _unitOfWork = unitOfWork; }