예제 #1
0
        public async Task OnGetAsync([FromQuery] Filters filters)
        {
            var distincts = _httpStatusResultRepository.GetDistincts(filters);
            var stats     = _httpStatusResultRepository.GetStatistics(filters);

            await Task.WhenAll(distincts, stats);

            Distincts = distincts.Result;
            Filters   = filters;
            Stats     = stats.Result;
        }
 public Task <HttpStatusResultStatistics> GetStatistics(string method, string requestUrl, int?deviations)
 {
     return(_httpStatusResultRepository.GetStatistics(method, requestUrl, deviations));
 }