public virtual ApiProductModelIllustrationResponseModel MapBOToModel( BOProductModelIllustration boProductModelIllustration) { var model = new ApiProductModelIllustrationResponseModel(); model.SetProperties(boProductModelIllustration.ProductModelID, boProductModelIllustration.IllustrationID, boProductModelIllustration.ModifiedDate); return(model); }
public virtual BOProductModelIllustration MapEFToBO( ProductModelIllustration ef) { var bo = new BOProductModelIllustration(); bo.SetProperties( ef.ProductModelID, ef.IllustrationID, ef.ModifiedDate); return(bo); }
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); }