예제 #1
0
 private void GetLogs()
 {
     using (LogsDb context = new LogsDb())
     {
         Logs = new BindingList <log>(context.logs.ToList());
     }
 }
예제 #2
0
 public ExceptionService(LogsDb db)
 {
     this.db = db ?? throw new ArgumentNullException(nameof(db));
 }