public virtual BOOtherTransport MapEFToBO( OtherTransport ef) { var bo = new BOOtherTransport(); bo.SetProperties( ef.Id, ef.HandlerId, ef.PipelineStepId); return(bo); }
public virtual BOOtherTransport MapModelToBO( int id, ApiOtherTransportRequestModel model ) { BOOtherTransport boOtherTransport = new BOOtherTransport(); boOtherTransport.SetProperties( id, model.HandlerId, model.PipelineStepId); return(boOtherTransport); }