コード例 #1
0
 public PaymentController(ILogger <PaymentController> logger, ITransactionService transactionService, IOrderService orderService, ILiveAnimalService liveAnimalService, ISSLCommerzService sslCommerzService, IPaymentService paymentService)
 {
     _logger             = logger;
     _transactionService = transactionService;
     _orderService       = orderService;
     _liveAnimalService  = liveAnimalService;
     _sslCommerzService  = sslCommerzService;
     _paymentService     = paymentService;
 }
コード例 #2
0
 public OrderService(ILogger <OrderService> logger, IMongoRepository mongoRepository, ILiveAnimalService liveAnimalService)
 {
     _repository        = mongoRepository;
     _logger            = logger;
     _liveAnimalService = liveAnimalService;
 }
コード例 #3
0
 public HomeController(ILogger <HomeController> logger, ILiveAnimalService liveAnimalService)
 {
     _logger            = logger;
     _liveAnimalService = liveAnimalService;
 }
コード例 #4
0
 public LiveAnimalController(ILiveAnimalService liveAnimalService, IOrderService orderService)
 {
     _liveAnimalService = liveAnimalService;
     _orderService      = orderService;
 }