public List <KitHistory> GetKitHistories() { var results = _db.Query <ObsTestResult>(@" SELECT DISTINCT Kit,KitOther,Expiry,Created FROM ObsTestResult"); return(KitHistory.Create(results)); }
public void UpdateKitHistories(ObsTestResult testResult) { _kitHistoryRepository.InsertOrUpdate(KitHistory.Create(testResult)); }