예제 #1
0
 public async Task CreateOrganisation(OrganisationDto organisation)
 {
     Logger.LogTrace("Creating organisation with name '{0}' in webCRM.", organisation.OrganisationName);
     await SdkClient.OrganisationsPostAsync(organisation);
 }
예제 #2
0
 public async Task UpdateOrganisation(OrganisationDto organisation)
 {
     Logger.LogTrace("Updating organisation with id {0} in webCRM.", organisation.OrganisationId);
     await SdkClient.OrganisationsByIdPutAsync(organisation.OrganisationId, organisation);
 }