Background Service läuft im 60 Sekunden Rythmus. Ergebnis wird noch nciht gespeichert
This commit is contained in:
@@ -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";
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user