public List <KitHistory> GetKitHistories()
        {
            var results = _db.Query <ObsTestResult>(@"
SELECT 
    DISTINCT Kit,KitOther,Expiry,Created
FROM 
    ObsTestResult");

            return(KitHistory.Create(results));
        }
Пример #2
0
 public void UpdateKitHistories(ObsTestResult testResult)
 {
     _kitHistoryRepository.InsertOrUpdate(KitHistory.Create(testResult));
 }