public async Task <bool> UpdateMobileAndCustomAppAsync(string id, MobileCustomAppConfig body = null, CancellationToken cancellationToken = default) { var response = await GetMobileAndCustomAppAppUrl() .AppendPathSegment(id) .PutJsonAsync(body, cancellationToken) .ConfigureAwait(false); return(response.IsSuccessStatusCode); }
public async Task <EntityShortRepresentation> CreateMobileAndCustomAppAsync(MobileCustomAppConfig body = null, CancellationToken cancellationToken = default) { var result = await GetMobileAndCustomAppAppUrl() .PostJsonAsync(body, cancellationToken) .ReceiveJsonWithErrorChecking <EntityShortRepresentation>() .ConfigureAwait(false); return(result); }