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

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