public PaymentController(ILogger <PaymentController> logger, IAccountRepositoryAsync accountRepo, ITransactionRepositoryAsync tranRepo, IMapper mapper) { _logger = logger; _accountRepo = accountRepo; _transRepo = tranRepo; _mapper = mapper; }
public AccountBalanceService(ILogger logger, int accountId, IMapper mapper, IAccountRepositoryAsync accountRepo, ITransactionRepositoryAsync transRepo) { this._logger = logger; this._accountId = accountId; this._mapper = mapper; this._accountRepo = accountRepo; this._transRepo = transRepo; }
public TransactionUpdaterService(ILogger logger, IMapper mapper, int accountId, int transactionId, IAccountRepositoryAsync accountRepo, ITransactionRepositoryAsync transRepo, TransactionStatusEnum status, string server500Error, string closedComment = null) { this._logger = logger; this._mapper = mapper; this._accountId = accountId; this._transactionId = transactionId; this._accountRepo = accountRepo; this._transRepo = transRepo; this._status = status; this._server500Error = server500Error; this._closedComment = closedComment; }
public TransactionCreatorService(ILogger logger, IMapper mapper, int accountId, decimal amount, DateTime date, IAccountRepositoryAsync accountRepo, ITransactionRepositoryAsync transRepo, TransactionStatusEnum status, TransactionTypeEnum type, string server500Error) { this._logger = logger; this._mapper = mapper; this._accountId = accountId; this._amount = amount; this._date = date; this._accountRepo = accountRepo; this._transRepo = transRepo; this._status = status; this._type = type; this._server500Error = server500Error; }
public AccountCreatorService(ILogger logger, string name, IAccountRepositoryAsync accountRepo) { this._logger = logger; this._accountRepo = accountRepo; this._name = name; }