Skip to content

Instantly share code, notes, and snippets.

@AndyButland
Created June 16, 2023 05:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AndyButland/dbe903175bb624cd31b5e01ae8ec1a65 to your computer and use it in GitHub Desktop.
Save AndyButland/dbe903175bb624cd31b5e01ae8ec1a65 to your computer and use it in GitHub Desktop.
public async Task Get(string id)
{
var response = await_authorizedServiceCaller.GetRequestAsyncContactResponse>(
"hubspot",
$"/crm/v3/objects/contacts/{id}");
if (response == null)
{
return NotFound();
}
return Ok(MapToDto(response));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment