public virtual ApiProductModelIllustrationResponseModel MapBOToModel(
            BOProductModelIllustration boProductModelIllustration)
        {
            var model = new ApiProductModelIllustrationResponseModel();

            model.SetProperties(boProductModelIllustration.ProductModelID, boProductModelIllustration.IllustrationID, boProductModelIllustration.ModifiedDate);

            return(model);
        }
Ejemplo n.º 2
0
        public virtual BOProductModelIllustration MapEFToBO(
            ProductModelIllustration ef)
        {
            var bo = new BOProductModelIllustration();

            bo.SetProperties(
                ef.ProductModelID,
                ef.IllustrationID,
                ef.ModifiedDate);
            return(bo);
        }
Ejemplo n.º 3
0
        public virtual ProductModelIllustration MapBOToEF(
            BOProductModelIllustration bo)
        {
            ProductModelIllustration efProductModelIllustration = new ProductModelIllustration();

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

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