Exemplo n.º 1
0
 public Task <bool> CheckIfDiagnosisUidExistsAsync(string diagnosisUid)
 {
     using (var UoW = XpoHelper.CreateUnitOfWork())
         return(Task.FromResult(UoW.Query <DbDiagnosis>().Any(d => d.DiagnosisUid.Equals(diagnosisUid))));
 }
Exemplo n.º 2
0
 public XpoExposureNotificationStorage(string ConnectionString)
 {
     XpoHelper.InitXpo(ConnectionString);
 }