public virtual BOPipeline MapEFToBO(
            Pipeline ef)
        {
            var bo = new BOPipeline();

            bo.SetProperties(
                ef.Id,
                ef.PipelineStatusId,
                ef.SaleId);
            return(bo);
        }
        public virtual BOPipeline MapModelToBO(
            int id,
            ApiPipelineRequestModel model
            )
        {
            BOPipeline boPipeline = new BOPipeline();

            boPipeline.SetProperties(
                id,
                model.PipelineStatusId,
                model.SaleId);
            return(boPipeline);
        }