public virtual ApiPipelineResponseModel MapBOToModel(
            BOPipeline boPipeline)
        {
            var model = new ApiPipelineResponseModel();

            model.SetProperties(boPipeline.Id, boPipeline.PipelineStatusId, boPipeline.SaleId);

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

            bo.SetProperties(
                ef.Id,
                ef.PipelineStatusId,
                ef.SaleId);
            return(bo);
        }
        public virtual Pipeline MapBOToEF(
            BOPipeline bo)
        {
            Pipeline efPipeline = new Pipeline();

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

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