loading
open in
main.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
using System;

class MainClass {
  public static void Main (string[] args) {
    
    IOrderService orderService = new OrderService();

    IOrderService orderServiceProxy = new OrderServiceProxy(orderService);

    Order order = orderServiceProxy.GetOrderById(3);

    if(order != null)
    {
      Console.WriteLine($"Order is found.");
    }
  }
}