Esempio n. 1
0
 public PaymentController(IPaymentClientService paymentService, IPaymentStatisticsService paymentStatisticsService)
 {
     Argument.NotNull(paymentService, "paymentService");
     Argument.NotNull(paymentStatisticsService, "paymentStatisticsService");
     _paymentService           = paymentService;
     _paymentStatisticsService = paymentStatisticsService;
 }
Esempio n. 2
0
 public PaymentController(IPaymentClientService paymentService, IPaymentStatisticsService paymentStatisticsService)
 {
     Argument.NotNull(paymentService, "paymentService");
     Argument.NotNull(paymentStatisticsService, "paymentStatisticsService");
     _paymentService = paymentService;
     _paymentStatisticsService = paymentStatisticsService;
 }
Esempio n. 3
0
 public CustomerCardController(ICardAccountService cardAccountService, IPaymentStatisticsService paymentStatisticsService)
 {
     Argument.NotNull(paymentStatisticsService, "paymentStatisticsService");
     if (cardAccountService == null)
     {
         throw new ArgumentNullException("cardAccountService");
     }
     _cardAccountService       = cardAccountService;
     _paymentStatisticsService = paymentStatisticsService;
 }
Esempio n. 4
0
 public CustomerCardController(ICardAccountService cardAccountService, IPaymentStatisticsService paymentStatisticsService)
 {
     Argument.NotNull(paymentStatisticsService, "paymentStatisticsService");
     if (cardAccountService == null)
     {
         throw new ArgumentNullException("cardAccountService");
     }
     _cardAccountService = cardAccountService;
     _paymentStatisticsService = paymentStatisticsService;
 }