Пример #1
0
        public Recommendation Spot(string externalSpotRef)
        {
            if (Spots.Exists(s => String.Equals(s.ExternalSpotRef, externalSpotRef)))
            {
                return(Spots
                       .Find(s => String.Equals(s.ExternalSpotRef, externalSpotRef))
                       .Recommendation);
            }

            return(null);
        }