feature/db-check #21

Merged
triggermeelmo merged 8 commits from feature/db-check into development 2025-10-03 13:11:18 +02:00
Showing only changes of commit b8626cb8ea - Show all commits

View File

@@ -41,7 +41,6 @@ namespace Watcher.Controllers
.Where(u => u.Username == preferredUserName) .Where(u => u.Username == preferredUserName)
.FirstOrDefaultAsync(); .FirstOrDefaultAsync();
Console.WriteLine("Index" + _DashboardStore.NetworkStatus);
var viewModel = new DashboardViewModel var viewModel = new DashboardViewModel
{ {
ActiveServers = await _context.Servers.CountAsync(s => s.IsOnline), ActiveServers = await _context.Servers.CountAsync(s => s.IsOnline),
@@ -75,8 +74,6 @@ namespace Watcher.Controllers
var now = DateTime.UtcNow; var now = DateTime.UtcNow;
Console.WriteLine("DashboardStats" + _DashboardStore.NetworkStatus);
var model = new DashboardViewModel var model = new DashboardViewModel
{ {
ActiveServers = await _context.Servers.CountAsync(s => s.IsOnline), ActiveServers = await _context.Servers.CountAsync(s => s.IsOnline),