public PaymentControllerTest() { _logger = Substitute.For <ILoggerManager>(); _paymentBusiness = Substitute.For <IPaymentBusiness>(); _paymentController = new PaymentController(_logger, _paymentBusiness); }
public PaymentController(IPaymentBusiness iPaymentBusiness = null, ICommandBus commandBus, IQueryBus queryBus) { this.commandBus = commandBus; this.queryBus = queryBus; this.iPaymentBusiness = iPaymentBusiness ?? GsbIoC.Instance.GetInstance <IPaymentBusiness>(); }
public PaymentController( IPaymentBusiness paymentBusiness, IMapper mapper, IApiResponseWrapper apiResponseWrapper) { this.paymentBusiness = paymentBusiness; this.mapper = mapper; this.apiResponseWrapper = apiResponseWrapper; }
public PaymentService(IPaymentBusiness paymentBusiness, IOrdersBusiness ordersBusiness, IShopCartBusiness shopCartBusiness, IBilletIntegration billetIntegration, ICredCardIntegration credCardIntegration) { _paymentBusiness = paymentBusiness; _ordersBusiness = ordersBusiness; _shopCartBusiness = shopCartBusiness; _billetIntegration = billetIntegration; _credCardIntegration = credCardIntegration; }
public PaymentController(ILoggerManager logger, IPaymentBusiness paymentBusiness) { this._logger = logger; this._paymentBusiness = paymentBusiness; }
public PaymentService() { this.iPaymentBusiness = SimpleIoC.Instance.GetInstance <IPaymentBusiness>(); }
public PaymentServices(IPaymentBusiness paymentBusiness) { _paymentBusiness = paymentBusiness; }
public PaymentController(IPaymentBusiness iPaymentBusiness) { this.iPaymentBusiness = iPaymentBusiness; }
public PaymentController(ILogger <PaymentController> logger, IPaymentBusiness iPaymentBusiness) { this._logger = logger; this.iPaymentBusiness = iPaymentBusiness; }
public PaymentController(IPaymentBusiness iPaymentBusiness = null) { this.iPaymentBusiness = iPaymentBusiness ?? GsbIoC.Instance.GetInstance <IPaymentBusiness>(); }
public PaymentController( IPaymentBusiness paymentBusiness ) { _paymentBusiness = paymentBusiness; }
public PaymentsController(IPaymentBusiness PaymentBusiness) { this.PaymentBusiness = PaymentBusiness; }
public PaymentsController(IPaymentBusiness PaymentBusiness, IEgreetingUserBusiness EgreetingUserBusiness) { this.PaymentBusiness = PaymentBusiness; this.EgreetingUserBusiness = EgreetingUserBusiness; }
public PaymentController(ILogger <PaymentController> logger, IPaymentBusiness paymentBusiness) { _Logger = logger; _PaymentBusiness = paymentBusiness; }
public void Setup() { _Logger = Substitute.For <ILogger <PaymentController> >(); _PaymentBusiness = Substitute.For <IPaymentBusiness>(); _PaymentController = new PaymentController(_Logger, _PaymentBusiness); }