Пример #1
0
        public async Task <IActionResult> GetActiveDHCPv4Leases([FromQuery] GroupedTimeSeriesFilterRequest request)
        {
            var response = await _storage.GetActiveDHCPv4Leases(request.Start, request.End, request.GroupbBy);

            return(base.Ok(response));
        }
Пример #2
0
        public async Task <IActionResult> GetIncomingDHCPv6PacketAmount([FromQuery] GroupedTimeSeriesFilterRequest request)
        {
            var response = await _storage.GetIncomingDHCPv6PacketAmount(request.Start, request.End, request.GroupbBy);

            return(base.Ok(response));
        }