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