public async Task <UpdateFoodResponse> UpdateFoodAsync(UpdateFoodRequest updateFoodRequest) { var inValue = new UpdateFoodRequest1 { UpdateFoodRequest = updateFoodRequest }; var retVal = await((IFoodEditService)this).UpdateFoodAsync(inValue); return(retVal.UpdateFoodResponse); }
public UpdateFoodResponse UpdateFood(UpdateFoodRequest updateFoodRequest) { var inValue = new UpdateFoodRequest1 { UpdateFoodRequest = updateFoodRequest }; var retVal = ((IFoodEditService)this).UpdateFood(inValue); return(retVal.UpdateFoodResponse); }