コード例 #1
0
ファイル: IssueService.cs プロジェクト: iiitpux/furykanban
        public async Task <IssueChangeResponse> InsertIssueAsync(AppState.Issue issue)
        {
            var result = await _httpClient.PostAsyncEx <IssueChangeResponse, AppState.Issue>("api/issue", issue, $"Insert issue '{issue.Title}'");

            OnStateChanged?.Invoke(this, result.AppState);

            return(result);
        }
コード例 #2
0
        public async Task <StageChangeResponse> EditStageAsync(AppState.Stage stage)
        {
            var result = await _httpClient.PostAsyncEx <StageChangeResponse, AppState.Stage>("api/stage", stage, $"Edit column '{stage.Title}'");

            OnStateChanged?.Invoke(this, result.AppState);

            return(result);
        }