public IActionResult GetAllLogsFromDB()
 {
     try {
         var allLogs = _logsService.GetAllLogsFromDb();
         return(Ok(allLogs));
     } catch (Exception) {
         return(BadRequest("Could not load logs from the database"));
     }
 }