コード例 #1
0
        public async Task <ActionResult <IEnumerable <JobLog> > > GetLogs(Guid id)
        {
            //TODO extend with other properties
            JobQuery jobQuery = new JobQuery()
            {
                JobId = id
            };
            var logs = await _jobManagementService.GetLogs(jobQuery);

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