Exemple #1
0
 public int GetTrailCount(int year, int month)
 {
     return(Trails.Count(x => x.StartLocal.Year == year && x.StartLocal.Month == month));
 }
Exemple #2
0
 // ==================================================
 // Helpers
 public int GetTrailCount(GeoCountryInfo country)
 {
     return(Trails.Count(x => x.Country.CountryID == country.CountryID));
 }