|
@ -28,7 +28,7 @@ namespace BBWY.Server.Business |
|
|
|
|
|
|
|
|
public void Flush() |
|
|
public void Flush() |
|
|
{ |
|
|
{ |
|
|
var currentRoundList = apiDictionary.Select(kv => new { Api = kv.Key, Count = kv.Value }); |
|
|
var currentRoundList = apiDictionary.Select(kv => new { Api = kv.Key, Count = kv.Value }).ToList(); |
|
|
apiDictionary.Clear(); |
|
|
apiDictionary.Clear(); |
|
|
var currentRoundKeyList = currentRoundList.Select(x => x.Api).ToList(); |
|
|
var currentRoundKeyList = currentRoundList.Select(x => x.Api).ToList(); |
|
|
var today = DateTime.Now.Date; |
|
|
var today = DateTime.Now.Date; |
|
|