internal override async Task Action() { ITestDetails testDetails = new TestDetailsDAO(); try { await testDetails.GetLastTestDetail(id, this); } catch (Exception e) { } if (test != null) { viewCallback.LastTestViewSuccess(test); } else { viewCallback.LastTestViewFail(); } }
internal override async Task Action() { ITestDetails testDetails = new TestDetailsDAO(); try { await testDetails.GetTestDetails(doc_id, this); } catch (Exception e) { System.Diagnostics.Debug.WriteLine("Testimonial use case exception=" + e.Message); } if (dets != null) { viewCallback.TestDetailsReadViewSuccess(dets); } else { viewCallback.TestDetailsReadViewFail(); } }