public static Season FromDTO(SeasonDTO seasonDTO, Team team) { Season s = new Season(); s.owningTeam = team; s.name = seasonDTO.Name; s.seasonId = seasonDTO.SeasonId; s.year = seasonDTO.Year; return(s); }
public static Season FromDTO(SeasonDTO seasonDTO, Team team) { Season s = new Season(); s.owningTeam = team; s.name = seasonDTO.Name; s.seasonId = seasonDTO.SeasonId; s.year = seasonDTO.Year; return s; }