예제 #1
0
        public async Task <ActionResult <IEnumerable <Job> > > GetAll()
        {
            IEnumerable <Job> jobs = await _jobManagementService.GetAll();

            if (jobs == null)
            {
                return(NotFound());
            }
            return(Ok(jobs));
        }