private static List <BulkDocumentInfoBEO> GetDuplicateDocumentList(string matterId, string collectionId,
                                                                           List <BulkDocumentInfoBEO> duplicateMaster)
        {
            var duplicateDocuments = DocumentBO.GetDocumentDuplicatesExpressWithFamilyId
                                         (matterId, collectionId, duplicateMaster);

            var duplicateDocumentsConverted = new List <BulkDocumentInfoBEO>();

            if (duplicateDocuments != null && duplicateDocuments.Any())
            {
                duplicateDocuments.SafeForEach(o => duplicateDocumentsConverted.Add(new BulkDocumentInfoBEO
                {
                    DocumentId        = o.DocumentReferenceId,
                    FromOriginalQuery = false,
                    DuplicateId       = o.DuplicateId,
                    FamilyId          = o.Relationship,
                    DCN = o.DCN
                }));
            }
            return(duplicateDocumentsConverted);
        }