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); }
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); }