public async Task <SystemStatus> Get() { HealthService healthService = new HealthService(); return(await healthService.GetWaitTime()); // SystemStatus result = new SystemStatus // { // SystemIsUp = true, // DbIsUp = false // }; // DBConnector test = new DBConnector(); // if (test.OpenConnection()) // { // result.DbIsUp = true; // test.CloseConnection(); // } // return await Task.FromResult(result); }