public TransactionsServiceExample()
 {
     _transactionsService = new TransactionsService();
     _customersService    = new CustomersService();
     _creditCardsService  = new CreditCardsService();
     _invoicesService     = new InvoicesService();
     _itemsService        = new ItemsService();
 }
Beispiel #2
0
 public CreditCardsController(ICreditCardsService creditCardsService, IOrdersService ordersService, IMapper mapper, IUsersService usersService, IRentsService rentsService)
 {
     this.creditCardsService = creditCardsService;
     this.ordersService      = ordersService;
     this.mapper             = mapper;
     this.usersService       = usersService;
     this.rentsService       = rentsService;
 }
 public CreditCardsController(ICreditCardsService creditCardsService,
                              ICustomerService customerService,
                              UserManager <AppUser> userManager,
                              IActionResultMapper <CreditCardsController> actionResultMapper)
 {
     _creditCardsService = creditCardsService;
     _customerService    = customerService;
     _userManager        = userManager;
     _actionResultMapper = actionResultMapper;
 }
Beispiel #4
0
 public CashTransactionsController(ICashTransactionsService cashTransactionsService,
                                   ICustomerService customerService,
                                   ICreditCardsService creditCardsService,
                                   IDebitCardsService debitCardsService,
                                   UserManager <AppUser> userManager,
                                   IActionResultMapper <CashTransactionsController> actionResultMapper)
 {
     _cashTransactionsService = cashTransactionsService;
     _customerService         = customerService;
     _creditCardsService      = creditCardsService;
     _debitCardsService       = debitCardsService;
     _userManager             = userManager;
     _actionResultMapper      = actionResultMapper;
 }
 public ProfileController(
     IGamesService gamesService,
     IOrdersService ordersService,
     IOrderItemsService orderItemsService,
     ICreditCardsService creditCardsService,
     IUsersService usersService,
     IWebHostEnvironment environment)
 {
     this.gamesService       = gamesService;
     this.ordersService      = ordersService;
     this.orderItemsService  = orderItemsService;
     this.creditCardsService = creditCardsService;
     this.usersService       = usersService;
     this.environment        = environment;
 }
Beispiel #6
0
 public CartController(
     IGamesService gamesService,
     IOrdersService ordersService,
     IOrderItemsService orderItemsService,
     ICreditCardsService creditCardsService,
     ICartService cartService,
     IWishlistService wishlistService)
 {
     this.gamesService       = gamesService;
     this.ordersService      = ordersService;
     this.orderItemsService  = orderItemsService;
     this.creditCardsService = creditCardsService;
     this.cartService        = cartService;
     this.wishlistService    = wishlistService;
 }
Beispiel #7
0
 public AntiFraudChecker(
     IPaymentTransactionsRepository paymentTransactionsRepository,
     IClientAccountClient clientAccountClient,
     DateTime registrationDateSince,
     TimeSpan paymentPeriod,
     ICreditCardsService creditCardsService,
     IEmailSender emailSender,
     string notificationEmail,
     string chatId,
     ITelegramBotClient telegramBot,
     ILogFactory logFactory
     )
 {
     _paymentTransactionsRepository = paymentTransactionsRepository;
     _clientAccountClient           = clientAccountClient;
     _registrationDateSince         = registrationDateSince;
     _paymentPeriod              = paymentPeriod;
     _creditCardsService         = creditCardsService;
     _emailSender                = emailSender;
     _antifraudNotificationEmail = notificationEmail;
     _chatId      = chatId;
     _telegramBot = telegramBot;
     _log         = logFactory.CreateLog(this);
 }
Beispiel #8
0
 public CreditCardServiceExample()
 {
     _service = new CreditCardsService();
 }