Пример #1
0
 internal Notshipped(OrdersXmlClient proxy)
 {
     this.proxy = proxy;
 }
Пример #2
0
 internal Orders(OrdersXmlClient proxy)
 {
     this.proxy = proxy;
 }
Пример #3
0
 internal Ship(OrdersXmlClient proxy)
 {
     this.proxy = proxy;
 }
Пример #4
0
 internal Orders(OrdersXmlClient proxy)
 {
     this.proxy = proxy;
 }
Пример #5
0
 internal Shipped(OrdersXmlClient proxy)
 {
     this.proxy = proxy;
 }
 public OrdersController(IOrdersRepository ordersRepository)
 {
     var fakeResponseHandler = new FakeResponseHandler(ordersRepository);
     var httpClient = new HttpClient(fakeResponseHandler) {BaseAddress = new Uri("http://test.com/api/")};
     client = new OrdersXmlClient(httpClient);
 }