예제 #1
0
        public IQueryable <APIErrorLogs> GetAllLogs()
        {
            var logs = errorLogRepository.GetAllLogs();

            if (logs == null)
            {
                NotFound("Log not found");
            }
            return(logs);
        }