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