Ejemplo n.º 1
0
        public IEnumerable <Position> GetOffensePositions()
        {
            List <Position> offensePositions = new List <Position>();

            offensePositions.Add(Quarterback);

            offensePositions.AddRange(Receivers.FindAll(f => f.Value != string.Empty));
            offensePositions.AddRange(Runningbacks.FindAll(f => f.Value != string.Empty));
            offensePositions.AddRange(OffensiveLinemen.FindAll(f => f.Value != string.Empty));
            offensePositions.AddRange(TightEnds.FindAll(f => f.Value != string.Empty));

            return(offensePositions);
        }