public virtual BOTenant MapEFToBO( Tenant ef) { var bo = new BOTenant(); bo.SetProperties( ef.Id, ef.DataVersion, ef.JSON, ef.Name, ef.ProjectIds, ef.TenantTags); return(bo); }
public virtual BOTenant MapModelToBO( string id, ApiTenantRequestModel model ) { BOTenant boTenant = new BOTenant(); boTenant.SetProperties( id, model.DataVersion, model.JSON, model.Name, model.ProjectIds, model.TenantTags); return(boTenant); }