public virtual BOEventRelatedDocument MapEFToBO( EventRelatedDocument ef) { var bo = new BOEventRelatedDocument(); bo.SetProperties( ef.Id, ef.EventId, ef.RelatedDocumentId); return(bo); }
public virtual BOEventRelatedDocument MapModelToBO( int id, ApiEventRelatedDocumentRequestModel model ) { BOEventRelatedDocument boEventRelatedDocument = new BOEventRelatedDocument(); boEventRelatedDocument.SetProperties( id, model.EventId, model.RelatedDocumentId); return(boEventRelatedDocument); }