public void UpdateEventType(TimelineEventTypeHubSpotModel entity) => _client.ExecuteOnly(GetRoute <TimelineEventTypeHubSpotModel>(entity.Id.ToString()), entity, RestSharp.Method.PUT);
public Task UpdateEventTypeAsync(TimelineEventTypeHubSpotModel entity, CancellationToken cancellationToken = default) => _client.ExecuteOnlyAsync(GetRoute <TimelineEventTypeHubSpotModel>(entity.Id.ToString()), entity, RestSharp.Method.PUT, cancellationToken);
public void CreateEventType(TimelineEventTypeHubSpotModel entity) => _client.ExecuteOnly(GetRoute <TimelineEventHubSpotModel>(), entity, RestSharp.Method.POST);
public Task CreateEventTypeAsync(TimelineEventTypeHubSpotModel entity, CancellationToken cancellationToken = default) => _client.ExecuteOnlyAsync(GetRoute <TimelineEventHubSpotModel>(), entity, RestSharp.Method.POST, cancellationToken);