public async Task <StageChangeResponse> DeleteStageAsync(AppState.Stage stage) { var result = await _httpClient.DeleteAsyncEx <StageChangeResponse>($"api/stage/{stage.Id}", $"Delete column '{stage.Title}'"); OnStateChanged?.Invoke(this, result.AppState); return(result); }
public async Task <IssueChangeResponse> DeleteIssueAsync(AppState.Issue issue) { var result = await _httpClient.DeleteAsyncEx <IssueChangeResponse>($"api/issue/{issue.Id}", $"Delete issue '{issue.Title}'"); OnStateChanged?.Invoke(this, result.AppState); return(result); }