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