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)); }