public virtual BOPostHistoryType MapEFToBO( PostHistoryType ef) { var bo = new BOPostHistoryType(); bo.SetProperties( ef.Id, ef.Type); return(bo); }
public virtual BOPostHistoryType MapModelToBO( int id, ApiPostHistoryTypeRequestModel model ) { BOPostHistoryType boPostHistoryType = new BOPostHistoryType(); boPostHistoryType.SetProperties( id, model.Type); return(boPostHistoryType); }