public virtual BOVariableSet MapEFToBO(
            VariableSet ef)
        {
            var bo = new BOVariableSet();

            bo.SetProperties(
                ef.Id,
                ef.IsFrozen,
                ef.JSON,
                ef.OwnerId,
                ef.RelatedDocumentIds,
                ef.Version);
            return(bo);
        }
        public virtual BOVariableSet MapModelToBO(
            string id,
            ApiVariableSetRequestModel model
            )
        {
            BOVariableSet boVariableSet = new BOVariableSet();

            boVariableSet.SetProperties(
                id,
                model.IsFrozen,
                model.JSON,
                model.OwnerId,
                model.RelatedDocumentIds,
                model.Version);
            return(boVariableSet);
        }