Beispiel #1
0
        public virtual BOClasp MapEFToBO(
            Clasp ef)
        {
            var bo = new BOClasp();

            bo.SetProperties(
                ef.Id,
                ef.NextChainId,
                ef.PreviousChainId);
            return(bo);
        }
        public virtual BOClasp MapModelToBO(
            int id,
            ApiClaspRequestModel model
            )
        {
            BOClasp boClasp = new BOClasp();

            boClasp.SetProperties(
                id,
                model.NextChainId,
                model.PreviousChainId);
            return(boClasp);
        }