/// <summary> /// Executes this request. /// </summary> /// <returns>Service response.</returns> internal GetRoomsResponse Execute() { GetRoomsResponse serviceResponse = (GetRoomsResponse)this.InternalExecute(); serviceResponse.ThrowIfNecessary(); return(serviceResponse); }
/// <summary> /// Executes this request. /// </summary> /// <returns>Service response.</returns> internal async Task <GetRoomsResponse> Execute() { GetRoomsResponse serviceResponse = (GetRoomsResponse)await this.InternalExecuteAsync().ConfigureAwait(false); serviceResponse.ThrowIfNecessary(); return(serviceResponse); }