/// <summary> /// Updates a zone. /// </summary> /// <param name="zone">Zone</param> /// <param name="actions">The list of update actions to be performed on the zone.</param> /// <returns>Zone</returns> /// <see href="http://dev.commercetools.com/http-api-projects-zones.html#update-zone"/> public Task <Response <Zone> > UpdateZoneAsync(Zone zone, List <UpdateAction> actions) { return(UpdateZoneAsync(zone.Id, zone.Version, actions)); }
/// <summary> /// Deletes a zone. /// </summary> /// <param name="zone">Zone</param> /// <see href="http://dev.commercetools.com/http-api-projects-zones.html#delete-zone"/> public Task <Response <JObject> > DeleteZoneAsync(Zone zone) { return(DeleteZoneAsync(zone.Id, zone.Version)); }
/// <summary> /// Updates a zone. /// </summary> /// <param name="zone">Zone</param> /// <param name="action">The update action to be performed on the zone.</param> /// <returns>Zone</returns> /// <see href="http://dev.commercetools.com/http-api-projects-zones.html#update-zone"/> public Task <Response <Zone> > UpdateZoneAsync(Zone zone, UpdateAction action) { return(UpdateZoneAsync(zone.Id, zone.Version, new List <UpdateAction> { action })); }