Exemple #1
0
 // GET api/routes/{count}
 public IEnumerable <RouteRating> Get(int count = 10)
 {
     if (count < 1)
     {
         throw new ArgumentOutOfRangeException("count");
     }
     return(_databaseProvider.GetTopRoutes(count));
 }