コード例 #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);
        }