Esempio n. 1
0
 public List <LogsResponseDTO> AllLogs()
 {
     try
     {
         return(_logs.Get().ToList());
     }
     catch
     {
         return(new List <LogsResponseDTO>());
     }
 }
 public IList <Logs> Logs()
 {
     try
     {
         return(_logsRepository.Get().ToList());
     }
     catch
     {
         return(new List <Logs>());
     }
 }
Esempio n. 3
0
        public override ErrorLogEntry GetError(string Id)
        {
            var theLog = repo.Get(Guid.Parse(Id));

            return(new ErrorLogEntry(this, theLog.IdString, theLog.Error));
        }