public IndividualOrganizationResponse UpdateOrganization(Organization organization) { var body = new { organization }; return GenericPut<IndividualOrganizationResponse>(string.Format("organizations/{0}.json", organization.Id), body); }
public async Task<IndividualOrganizationResponse> UpdateOrganizationAsync(Organization organization) { var body = new { organization }; return await GenericPutAsync<IndividualOrganizationResponse>(string.Format("organizations/{0}.json", organization.Id), body); }
public IndividualOrganizationResponse CreateOrganization(Organization organization) { var body = new {organization}; return GenericPost<IndividualOrganizationResponse>("organizations.json", body); }
public async Task<IndividualOrganizationResponse> CreateOrganizationAsync(Organization organization) { var body = new {organization}; return await GenericPostAsync<IndividualOrganizationResponse>("organizations.json", body); }