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;
 }
示例#3
0
 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;
 }
示例#5
0
 public AccountCreatorService(ILogger logger, string name, IAccountRepositoryAsync accountRepo)
 {
     this._logger      = logger;
     this._accountRepo = accountRepo;
     this._name        = name;
 }