public IndividualMacroResponse UpdateMacro(Macro macro) { var body = new { macro }; return GenericPut<IndividualMacroResponse>(string.Format("macros/{0}.json", macro.Id), body); }
public async Task<IndividualMacroResponse> UpdateMacroAsync(Macro macro) { var body = new { macro }; return await GenericPutAsync<IndividualMacroResponse>(string.Format("macros/{0}.json", macro.Id), body); }
public IndividualMacroResponse CreateMacro(Macro macro) { var body = new {macro}; return GenericPost<IndividualMacroResponse>("macros.json", body); }
public async Task<IndividualMacroResponse> CreateMacroAsync(Macro macro) { var body = new { macro }; return await GenericPostAsync<IndividualMacroResponse>("macros.json", body); }