public virtual BOPipelineStepNote MapEFToBO( PipelineStepNote ef) { var bo = new BOPipelineStepNote(); bo.SetProperties( ef.Id, ef.EmployeeId, ef.Note, ef.PipelineStepId); return(bo); }
public virtual BOPipelineStepNote MapModelToBO( int id, ApiPipelineStepNoteRequestModel model ) { BOPipelineStepNote boPipelineStepNote = new BOPipelineStepNote(); boPipelineStepNote.SetProperties( id, model.EmployeeId, model.Note, model.PipelineStepId); return(boPipelineStepNote); }