public virtual BOOtherTransport MapEFToBO(
            OtherTransport ef)
        {
            var bo = new BOOtherTransport();

            bo.SetProperties(
                ef.Id,
                ef.HandlerId,
                ef.PipelineStepId);
            return(bo);
        }
Пример #2
0
        public virtual BOOtherTransport MapModelToBO(
            int id,
            ApiOtherTransportRequestModel model
            )
        {
            BOOtherTransport boOtherTransport = new BOOtherTransport();

            boOtherTransport.SetProperties(
                id,
                model.HandlerId,
                model.PipelineStepId);
            return(boOtherTransport);
        }