public virtual BODevice MapEFToBO( Device ef) { var bo = new BODevice(); bo.SetProperties( ef.Id, ef.Name, ef.PublicId); return(bo); }
public virtual BODevice MapModelToBO( int id, ApiDeviceRequestModel model ) { BODevice boDevice = new BODevice(); boDevice.SetProperties( id, model.Name, model.PublicId); return(boDevice); }