/// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='id'> /// </param> /// <param name='locationEntity'> /// </param> public static void ApiLocationByIdPut(this IHomeAutomationAPI operations, int id, LocationEntity locationEntity = default(LocationEntity)) { operations.ApiLocationByIdPutAsync(id, locationEntity).GetAwaiter().GetResult(); }