@ -152,8 +152,6 @@ namespace ISPChk
public void AddHost(Host host)
{
System.Diagnostics.Debug.WriteLine("Host added!");
if (host.PingItems == null)
host = _context.Hosts.Include(host => host.PingItems).Where(h => h.HostId == host.HostId).Single();
if(host.Ping)
StartPing(host);
}