public async Task<IndividualUserResponse> UpdateUserAsync(User user) { var body = new { user = user }; return await GenericPutAsync<IndividualUserResponse>(string.Format("users/{0}.json", user.Id), body); }
public IndividualUserResponse UpdateUser(User user) { var body = new { user = user }; return GenericPut<IndividualUserResponse>(string.Format("users/{0}.json", user.Id), body); }
public async Task<IndividualUserResponse> CreateUserAsync(User user) { var body = new { user = user }; return await GenericPostAsync<IndividualUserResponse>("users.json", body); }
public IndividualUserResponse UpdateUser(User user) { var body = new { user = user }; return(GenericPut <IndividualUserResponse>(string.Format("users/{0}.json", user.Id), body)); }
public IndividualUserResponse CreateUser(User user) { var body = new { user = user }; return GenericPost<IndividualUserResponse>("users.json", body); }
public async Task <IndividualUserResponse> UpdateUserAsync(User user) { var body = new { user = user }; return(await GenericPutAsync <IndividualUserResponse>(string.Format("users/{0}.json", user.Id), body)); }
public IndividualUserResponse CreateUser(User user) { var body = new { user = user }; return(GenericPost <IndividualUserResponse>("users.json", body)); }
public async Task <IndividualUserResponse> UpdateUserAsync(User user) { var body = new { user = user }; return(await GenericPutAsync <IndividualUserResponse>($"users/{user.Id}.json", body)); }
public async Task <IndividualUserResponse> CreateUserAsync(User user) { var body = new { user = user }; return(await GenericPostAsync <IndividualUserResponse>("users.json", body)); }
public Task <JobStatusResponse> BulkUpdateAsync(IEnumerable <long> ids, User userTemplate) { return(GenericPutAsync <JobStatusResponse>($"users/update_many.json?ids={ids.ToCsv()}", new { user = userTemplate })); }
public IndividualUserResponse UpdateUser(User user) { var body = new { user = user }; return(GenericPut <IndividualUserResponse>($"users/{user.Id}.json", body)); }
public async Task <IndividualUserResponse> CreateUserAsync(User user) { return(await GenericPostAsync <IndividualUserResponse>("users.json", new { user })); }
public IndividualUserResponse UpdateUser(User user) { return(GenericPut <IndividualUserResponse>($"users/{user.Id}.json", new { user })); }
public IndividualUserResponse CreateUser(User user) { return(GenericPost <IndividualUserResponse>("users.json", new { user })); }
public async Task <IndividualUserResponse> CreateOrUpdateUserAsync(User user) { return(await GenericPostAsync <IndividualUserResponse>($"users/create_or_update.json", new { user })); }
public IndividualUserResponse CreateOrUpdateUser(User user) { return(GenericPost <IndividualUserResponse>($"users/create_or_update.json", new { user })); }