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

            bo.SetProperties(
                ef.Id,
                ef.Name);
            return(bo);
        }
Beispiel #2
0
        public virtual BOPipelineStatus MapModelToBO(
            int id,
            ApiPipelineStatusRequestModel model
            )
        {
            BOPipelineStatus boPipelineStatus = new BOPipelineStatus();

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