public IQueryable <APIErrorLogs> GetAllLogs() { var logs = errorLogRepository.GetAllLogs(); if (logs == null) { NotFound("Log not found"); } return(logs); }