示例#1
0
        public async Task <ActionResult <SortJob[]> > GetJobs()
        {
            // TODO: Should return all jobs that have been enqueued (both pending and completed).
            var result = await repoService.GetAllJobsAsync("Jobs");

            return(Ok(result));
        }