public IActionResult Logs()
        {
            var logs = logsService.RetrieveLogs();

            return(logs.Any() ? Ok(JsonConvert.SerializeObject(logs)) : (IActionResult)NotFound("No logs found"));
        }