public virtual BOPipelineStepNote MapEFToBO(
            PipelineStepNote ef)
        {
            var bo = new BOPipelineStepNote();

            bo.SetProperties(
                ef.Id,
                ef.EmployeeId,
                ef.Note,
                ef.PipelineStepId);
            return(bo);
        }
예제 #2
0
        public virtual BOPipelineStepNote MapModelToBO(
            int id,
            ApiPipelineStepNoteRequestModel model
            )
        {
            BOPipelineStepNote boPipelineStepNote = new BOPipelineStepNote();

            boPipelineStepNote.SetProperties(
                id,
                model.EmployeeId,
                model.Note,
                model.PipelineStepId);
            return(boPipelineStepNote);
        }