Exemple #1
0
 public void getSavedRuns(Database db, int sort, Action<List<SavedRunsList>> callback)
 {
     List<SavedRunsList> sr = db.GetSavedRuns(sort).ToList();
     callback(sr);
 }
Exemple #2
0
 public void getSavedRuns(Database db, Action<List<SavedRunsList>> callback)
 {
     List<SavedRunsList> sr = new List<SavedRunsList>();
     sr = db.GetSavedRuns(0).ToList();
     callback(sr);
 }