Ejemplo n.º 1
0
 public LogFetchResponse GetLogItems([FromBody] LogFetchRequest request)
 {
     using(var db = new Application_LogsEntities())
     {
         LogDataManager manager = new LogDataManager(db);
         return manager.GetLogItems(request ?? new LogFetchRequest());
     }
 }
Ejemplo n.º 2
0
 public LogFetchResponse GetLatestLogItems()
 {
     using(var db = new Application_LogsEntities())
     {
         LogDataManager manager = new LogDataManager(db);
         return manager.GetLogItems(new LogFetchRequest());
     }
 }