Example #1
0
 static Services()
 {
     _CustomerProxy   = new CustomerService.CustomerServiceClient();
     _ItemProxy       = new ItemService.ItemServiceClient();
     _MenuProxy       = new MenuService.MenuServiceClient();
     _PriceProxy      = new PriceService.PriceServiceClient();
     _RestaurantProxy = new RestaurantService.RestaurantServiceClient();
     _OrderProxy      = new OrderService.OrderServiceClient();
 }
Example #2
0
 public RestaurantCategoryController(RestaurantService.IRestaurantService proxy)
 {
     this._proxy = proxy;
 }
Example #3
0
 public RestaurantController(RestaurantService.IRestaurantService proxy,
                             OrderService.IOrderService orderProxy)
 {
     this._proxy      = proxy;
     this._orderProxy = orderProxy;
 }