public NFLPlayer(string fName, string lName, NFLPosition pos, NFLTeam nflTeam) { FirstName = fName; LastName = lName; Position = pos; NFLTeam = nflTeam; }
private FantasyPosition NFLPositionToFantasyPosition(NFLPosition nflPos) { switch (nflPos) { case NFLPosition.QB: return FantasyPosition.QB; case NFLPosition.RB: return FantasyPosition.RB; case NFLPosition.WR: return FantasyPosition.WR; case NFLPosition.TE: return FantasyPosition.TE; case NFLPosition.K: return FantasyPosition.K; case NFLPosition.DEF: default: return FantasyPosition.DEF; } }