public async Task <ActionResult <List <PendingFeedback> > > GetPendingFeedbackByEventId(string id)
        {
            var mytask      = Task.Run(() => _repo.GetPendingFeedbackByEventId(id));
            var pendingList = await mytask;

            return(pendingList);
        }
Beispiel #2
0
 public void TestGetPendingFeedbackByEventId_Memory()
 {
     var controller = new SettingsRepo(_context);
     var result     = controller.GetPendingFeedbackByEventId("EVNT00047261");
 }