public virtual BOChain MapEFToBO( Chain ef) { var bo = new BOChain(); bo.SetProperties( ef.Id, ef.ChainStatusId, ef.ExternalId, ef.Name, ef.TeamId); return(bo); }
public virtual BOChain MapModelToBO( int id, ApiChainRequestModel model ) { BOChain boChain = new BOChain(); boChain.SetProperties( id, model.ChainStatusId, model.ExternalId, model.Name, model.TeamId); return(boChain); }