Exemplo n.º 1
0
        private dynamic GetPopularServers(dynamic parameters)
        {
            int count = GetCannonicalCount(parameters.count);

            return(Response.AsJson(DbProcessor.GetServerRates()
                                   .OrderByDescending(r => r.AverageMatchesPerDay)
                                   .Take(count)));
        }