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