public virtual BOPen MapEFToBO( Pen ef) { var bo = new BOPen(); bo.SetProperties( ef.Id, ef.Name); return(bo); }
public virtual BOPen MapModelToBO( int id, ApiPenRequestModel model ) { BOPen boPen = new BOPen(); boPen.SetProperties( id, model.Name); return(boPen); }