private MissionDocument CreateMissionDocument(RegulatoryDocumentModel regulatoryDocumentModel, bool isLetter, RegulatoryDocumentModel.Status docStatus = RegulatoryDocumentModel.Status.Created)
        {
            MissionDocument missionDoc = new MissionDocument()
            {
                idMissionDocument = GuidHelper.GenerateGuid(),
                idCustomerProspect = regulatoryDocumentModel.TargetCustomerProspect.idCustomer,
                Status = docStatus.ToString(),
                DateCreated = DateTime.Now,
                DateUpdated = DateTime.Now,
                IsLetter = isLetter,
                AttachInformationCard = true,
                IsInformationCardFromModel = true,
                AttachPresentation = true,
                IsPresentationFromModel = true
            };

            MissionDocumentBL.InsertMissionDocument(missionDoc);

            return missionDoc;
        }
        private DER CreateDer(DerModel derModel, RegulatoryDocumentModel.Status docStatus = RegulatoryDocumentModel.Status.Created)
        {
            DER der = new DER()
            {
                idDer = GuidHelper.GenerateGuid(),
                idCustomerProspect = derModel.TargetCustomerProspect.idCustomer,
                Status = docStatus.ToString(),
                DateCreated = DateTime.Now,
                DateUpdated = DateTime.Now,
                IsDerFromModel = true,
                AttachPresentation = true,
                IsPresentationFromModel = true
            };

            DerBL.InsertDER(der);

            return der;
        }