Пример #1
0
 public TransactionService(
     Func <IUnitOfWork> unitOfWork,
     IBankAccountCalculationService bankAccountCalculationService,
     IUserIdProvider userIdProvider)
 {
     _unitOfWork = unitOfWork;
     _bankAccountCalculationService = bankAccountCalculationService;
     _userIdProvider = userIdProvider;
 }
Пример #2
0
 public ImportService(
     Func <IUnitOfWork> unitOfWork,
     IUserIdProvider userIdProvider,
     IBankFileImportHandler bankFileImportHandler,
     IBankAccountCalculationService bankAccountService)
 {
     _unitOfWork                    = unitOfWork;
     _userIdProvider                = userIdProvider;
     _bankFileImportHandler         = bankFileImportHandler;
     _bankAccountCalculationService = bankAccountService;
 }
Пример #3
0
 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;
 }