Exemplo n.º 1
0
 public void FindMatchedRecordsandAddToDatabase()
 {
     using (var db = new LojackContext())
     {
         var rep = new MatchedLojackRepository(db);
         rep.GetNewMatches(rep.GetActiveDataMarts());
     }
 }
Exemplo n.º 2
0
 public void GetActiveDataMartsTest()
 {
     var rep = new MatchedLojackRepository(new LojackContext());
     var result = rep.GetActiveDataMarts();
     Assert.IsTrue(result.Any());
 }