예제 #1
0
        public virtual BOPen MapEFToBO(
            Pen ef)
        {
            var bo = new BOPen();

            bo.SetProperties(
                ef.Id,
                ef.Name);
            return(bo);
        }
예제 #2
0
        public virtual BOPen MapModelToBO(
            int id,
            ApiPenRequestModel model
            )
        {
            BOPen boPen = new BOPen();

            boPen.SetProperties(
                id,
                model.Name);
            return(boPen);
        }