Esempio n. 1
0
        public string GetExternalServiceById(int id)
        {
            APIs apis = _foodServiceAPIsService.GetById(id);

            service = GetExternalService(apis);
            return(service.GetNameService());
            //----------------Test----------------------
            //var re1 = service.GetMetadata().ToList().ToString();
            //Province province = new Province() { id = 217 };
            //var re2 = service.GetRestaurants(province).ToList().ToString();
            //Restaurant restaurant = new Restaurant() { restaurant_id = 595, delivery_id = 607 };
            //var re3 = service.GetRestaurantDeliveryInfor(restaurant);
            //var re4 = service.GetFoods(restaurant);
            //----------------Test----------------------
        }