public TransactionService(IAccountSummaryRepository accountSummaryRepository, IAccountTransactionRepository accountTransactionRepository, IMapper mapper, ILogger <TransactionService> logger)
 {
     _accountSummaryRepository     = accountSummaryRepository ?? throw new ArgumentNullException(nameof(accountSummaryRepository));
     _accountTransactionRepository = accountTransactionRepository ?? throw new ArgumentNullException(nameof(accountTransactionRepository));
     _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper));
     _logger = logger ?? throw new ArgumentNullException(nameof(logger));
 }
Beispiel #2
0
 public AccountSummaryService(IAccountSummaryRepository accountSummaryRepository)
 {
     _accountSummaryRepository = accountSummaryRepository;
 }