Ejemplo n.º 1
0
        public virtual BOProductModelIllustration MapEFToBO(
            ProductModelIllustration ef)
        {
            var bo = new BOProductModelIllustration();

            bo.SetProperties(
                ef.ProductModelID,
                ef.IllustrationID,
                ef.ModifiedDate);
            return(bo);
        }
        public virtual BOProductModelIllustration MapModelToBO(
            int productModelID,
            ApiProductModelIllustrationRequestModel model
            )
        {
            BOProductModelIllustration boProductModelIllustration = new BOProductModelIllustration();

            boProductModelIllustration.SetProperties(
                productModelID,
                model.IllustrationID,
                model.ModifiedDate);
            return(boProductModelIllustration);
        }