public virtual BOTeam MapEFToBO( Team ef) { var bo = new BOTeam(); bo.SetProperties( ef.Id, ef.EnvironmentIds, ef.JSON, ef.MemberUserIds, ef.Name, ef.ProjectGroupIds, ef.ProjectIds, ef.TenantIds, ef.TenantTags); return(bo); }
public virtual BOTeam MapModelToBO( string id, ApiTeamRequestModel model ) { BOTeam boTeam = new BOTeam(); boTeam.SetProperties( id, model.EnvironmentIds, model.JSON, model.MemberUserIds, model.Name, model.ProjectGroupIds, model.ProjectIds, model.TenantIds, model.TenantTags); return(boTeam); }