Beispiel #1
0
        public async Task <IActionResult> GetDashboard()
        {
            DashboardResponse response = await _storage.GetDashboardOverview();

            response.DHCPv6.ScopeAmount = _rootScope.GetTotalAmountOfScopes();
            response.DHCPv4.ScopeAmount = _dhcpv4RootScope.GetTotalAmountOfScopes();
            response.AmountOfPipelines  = _notificationEngine.GetPipelineAmount();
            return(base.Ok(response));
        }