예제 #1
0
        public static BusinessLayer.BusinessObjects.Team ToBusinessPlayer(this DataModels.Team team)
        {
            var businessModel = new BusinessLayer.BusinessObjects.Team
            {
                ID = team.ID,
                TeamName = team.TeamName,
                Losts = team.Losts,
                Wins = team.Wins
            };

            return businessModel;
        }
예제 #2
0
        public static BusinessLayer.BusinessObjects.Team ToBusinessPlayer(this DataModels.Team team)
        {
            var businessModel = new BusinessLayer.BusinessObjects.Team
            {
                ID       = team.ID,
                TeamName = team.TeamName,
                Losts    = team.Losts,
                Wins     = team.Wins
            };

            return(businessModel);
        }