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; }
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); }