Exemplo n.º 1
0
        public ActionResult <SortJob[]> GetJobs()
        {
            // TODO: Should return all jobs that have been enqueued (both pending and completed).

            return(_sortJobProcessor.GetAllJobs().ToArray <SortJob>());

            //throw new NotImplementedException();
        }
Exemplo n.º 2
0
 public ActionResult <SortJob[]> GetJobs()
 {
     return(_sortJobProcessor.GetAllJobs());
 }