Background Service läuft im 60 Sekunden Rythmus. Ergebnis wird noch nciht gespeichert

This commit is contained in:
2025-10-01 08:14:36 +02:00
parent 5e2f9e4c3c
commit 6248fad147
6 changed files with 73 additions and 5 deletions

View File

@@ -4,8 +4,8 @@ using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
// Local Namespaces
using Watcher.Data;
using Watcher.Models;
using Watcher.ViewModels;
using Watcher.Services;
namespace Watcher.Controllers
{
@@ -52,9 +52,9 @@ namespace Watcher.Controllers
.ToListAsync(),
Containers = await _context.Containers
.OrderBy(s => s.Name)
.ToListAsync()
.ToListAsync(),
};
//ViewBag.NetworkConnection = ReturnNetworkStatus();
return View(viewModel);
}
@@ -88,5 +88,10 @@ namespace Watcher.Controllers
return PartialView("_DashboardStats", model);
}
public String ReturnNetworkStatus()
{
return "OK";
}
}
}