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); }
Task <UpdateFoodResponse1> IFoodEditService.UpdateFoodAsync(UpdateFoodRequest1 request) => Channel.UpdateFoodAsync(request);
UpdateFoodResponse1 IFoodEditService.UpdateFood(UpdateFoodRequest1 request) => Channel.UpdateFood(request);