public TransactionController(ITransactionRepository transactionRepository, TransactionMapper transactionMapper)
 {
     _transactionRepository = transactionRepository;
     _transactionMapper     = transactionMapper;
 }
 public TransactionQueriesRepository(IHolefeederContext context, TransactionMapper transactionMapper)
 {
     _context           = context;
     _transactionMapper = transactionMapper;
 }
예제 #3
0
 public SantanderTransactionReader(TransactionMapper <SantanderTransaction> transactionMapper) : base(transactionMapper)
 {
 }
예제 #4
0
 public TransactionsContext(string connectionString)
 {
     ConnectionString  = connectionString;
     TransactionMapper = new TransactionMapper();
 }
예제 #5
0
 public TransactionCrudFactory()
 {
     _mapper = new TransactionMapper();
     dao     = SqlDao.GetInstance();
 }
예제 #6
0
 public MonzoTransactionReader(TransactionMapper <MonzoTransaction> transactionMapper) : base(transactionMapper)
 {
 }
        public async Task <IEnumerable <TransactionServiceModel> > GetLast10TransactionsAsync(Guid id)
        {
            var transactions = await _transactionRepository.Last10(id);

            return(TransactionMapper.Map(transactions));
        }
 public void Create(TransactionDto transactionDto)
 {
     Create(TransactionMapper.MapToTransaction(transactionDto));
 }
        public new TransactionWithParentCategoryDto Get(Guid transactionId)
        {
            var transaction = base.Get(transactionId);

            return(TransactionMapper.MapToTransactionWithParentCategoryDto(transaction));
        }