Пример #1
0
        public async Task <UpdateFoodResponse> UpdateFoodAsync(UpdateFoodRequest updateFoodRequest)
        {
            var inValue = new UpdateFoodRequest1 {
                UpdateFoodRequest = updateFoodRequest
            };
            var retVal = await((IFoodEditService)this).UpdateFoodAsync(inValue);

            return(retVal.UpdateFoodResponse);
        }
Пример #2
0
        public UpdateFoodResponse UpdateFood(UpdateFoodRequest updateFoodRequest)
        {
            var inValue = new UpdateFoodRequest1 {
                UpdateFoodRequest = updateFoodRequest
            };
            var retVal = ((IFoodEditService)this).UpdateFood(inValue);

            return(retVal.UpdateFoodResponse);
        }