public CutMergeTaskStatusResponse GetMergeTaskStatus(string taskId) { ResponseStruct rs; var ret = CutMergeService.GetMergeTaskStatus(taskId, out rs); if (rs.Code != ErrorNumber.None) { throw new HttpResponseException(JsonHelper.ToJson(rs)); } return(ret); }
public ResKeeperCutMergeTaskStatusResponse GetMergeTaskStatus([FromHeader(Name = "AccessKey")] string AccessKey, string taskId) { ResponseStruct rs; var ret = CutMergeService.GetMergeTaskStatus(taskId, out rs); if (rs.Code != ErrorNumber.None) { throw new AkStreamException(rs); } return(ret); }