예제 #1
0
        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);
        }
예제 #2
0
        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);
        }