public async void RaisePracticeSongRequest(string twitchUsername, DevOpsProductBacklogItem songRequest) { var jsonPatch = _createJsonPatchDocumentFromProductBacklogItemRequestCommand.Create(twitchUsername, songRequest); await _workItemTrackingClient.CreateWorkItemAsync(jsonPatch, _configService.Get <string>("DevOpsProjectName"), "Product Backlog Item"); }
public JsonPatchDocument Create(string twitchUsername, DevOpsProductBacklogItem pbiInfo) { var jsonPatchDocument = _createJsonPatchForWorkItemCommand.Create(twitchUsername, pbiInfo); jsonPatchDocument .AddDescription(pbiInfo.Description); return(jsonPatchDocument); }