mirror of
https://github.com/fergalmoran/DnsServer.git
synced 2026-01-06 16:53:59 +00:00
code refactoring changes.
This commit is contained in:
@@ -497,7 +497,7 @@ namespace DnsServerCore
|
||||
HttpRequest request = context.Request;
|
||||
|
||||
string strType = request.GetQueryOrForm("type", "lastHour");
|
||||
TopStatsType statsType = request.GetQueryOrForm<TopStatsType>("statsType");
|
||||
TopStatsType statsType = request.GetQueryOrFormEnum<TopStatsType>("statsType");
|
||||
int limit = request.GetQueryOrForm("limit", int.Parse, 1000);
|
||||
|
||||
List<KeyValuePair<string, long>> topStatsData;
|
||||
|
||||
Reference in New Issue
Block a user