public virtual BOStudio MapEFToBO( Studio ef) { var bo = new BOStudio(); bo.SetProperties( ef.Id, ef.Address1, ef.Address2, ef.City, ef.Name, ef.StateId, ef.Website, ef.Zip); return(bo); }
public virtual BOStudio MapModelToBO( int id, ApiStudioRequestModel model ) { BOStudio boStudio = new BOStudio(); boStudio.SetProperties( id, model.Address1, model.Address2, model.City, model.Name, model.StateId, model.Website, model.Zip); return(boStudio); }