public DiscountService( ICustomerService customerService, DbCardContext context) { _customerService = customerService; _context = context; }
public TransactionsService( IDiscountService discountService, DbCardContext context, IBalanceService balanceService) { _discountService = discountService; _context = context; _balanceService = balanceService; }
public TransactionsService( IDiscountService discountService, DbCardContext context, IBalanceService balanceService, IRepository <Transaction> transactionRepository, ICustomerService customerService) { _discountService = discountService; _context = context; _balanceService = balanceService; _transactionRepository = transactionRepository; _customerService = customerService; }
public Repository(DbCardContext context, IMapper mapper) { _context = context; _mapper = mapper; }