public IActionResult Post([FromBody] DocumentMoveSettings moveSettings)
        {
            if (moveSettings.DocumentIdList == null || !moveSettings.DocumentIdList.Any())
            {
                return(HttpErrorResult(StatusCodes.Status400BadRequest, DocumentResources.EmptyIdListSpecified));
            }

            if (!globalStore.DataSets.IsExist(moveSettings.TargetDataSetName))
            {
                return(HttpErrorResult(StatusCodes.Status400BadRequest,
                                       string.Format(DataSetResources.DataSet_0_IsNotFound, moveSettings.TargetDataSetName)));
            }
            var process = documentService.StartCopyOrMove(dataSetName, moveSettings, true, parallelService.ParallelLimit);

            return(HttpObjectResult(StatusCodes.Status202Accepted, process));
        }
        public async Task <ClientResponse> MoveDocumentsToAsync(DocumentMoveSettings settings)
        {
            var client = new ApiClient(_configuration, MoveEndpoint);

            return(await client.SendAsync(System.Net.Http.HttpMethod.Post, settings, null, null, Headers));
        }
 public Task <ClientResponse> MoveDocumentsToAsync(DocumentMoveSettings settings)
 {
     throw new NotImplementedException();
 }