protected async Task DeleteDeployment(string id) { await ServiceClient.DeleteAsync(new DeploymentRequest { Id = id, Permanent = true }); }
public ValueTask FinishActivityAsync(string activityId, CancellationToken cancellationToken) { return(_serviceClient.DeleteAsync( ServiceConfiguration.ServiceName, $"{RoutePrefix}/{activityId}", EndpointAuthentication.Service, cancellationToken)); }
public async Task DeleteAllDumpsAsync() { var exceptionLogs = await _logRepository.GetAllAsync(); foreach (var exceptionLog in exceptionLogs) { await _logRepository.DeleteAsync(exceptionLog.Id); } }
public async Task <string> Delete(DeleteSimpleEntityDTO deleteSimpleEntityDTO) { try { return(await client.DeleteAsync(deleteSimpleEntityDTO)); } catch (WebServiceException webEx) { Debug.WriteLine(webEx.ToString()); return(string.Empty); } }
public Task <TResponse> DeleteAsync <TResponse>(IReturn <TResponse> requestDto) { return(cachedClient.DeleteAsync(requestDto)); }