Exemple #1
0
        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);
        }
Exemple #2
0
        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);
        }