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