public OrderController(ILogger <OrderController> logger, IOrderRepository orderRepository, IMapper mapper, IStaffProductFacade staffProductFacade, IInvoiceFacade invoiceFacade, IReviewFacade reviewFacade) { _logger = logger; _orderRepository = orderRepository; _mapper = mapper; _staffProductFacade = staffProductFacade; _invoiceFacade = invoiceFacade; _reviewFacade = reviewFacade; }
public OrderController(ILogger <OrderController> logger, IOrderFacade orderFacade, IBasketFacade basketFacade, IReviewFacade reviewFacade) { _logger = logger; _orderFacade = orderFacade; _basketFacade = basketFacade; _reviewFacade = reviewFacade; }
private void DefaultSetupRealHttpClient(HttpStatusCode statusCode) { SetupOrder(); var expectedResult = new HttpResponseMessage { StatusCode = statusCode }; SetMockMessageHandler(expectedResult); SetupRealHttpClient(expectedResult); SetupHttpFactoryMock(client); SetupConfig(); SetupHttpHandlerMock(); facade = new ReviewFacade(config, mockHttpHandler.Object); SetupConfig(); }
public ReviewController(ILogger <ReviewController> logger, IReviewFacade reviewFacade) { _logger = logger; _reviewFacade = reviewFacade; }
public ReviewController(IReviewFacade facade) { _logger = LogManager.GetLogger(Assembly.GetExecutingAssembly().GetName().Name); _facade = facade; }