Class JobLogController
- Namespace
- Oqtane.Controllers
- Assembly
- Oqtane.Server.dll
[Route("api/[controller]")]
public class JobLogController : Controller
- Inheritance
-
object
ControllerBase
Controller
JobLogController
Constructors
JobLogController(IJobLogRepository)
public JobLogController(IJobLogRepository jobLogs)
Parameters
jobLogs
IJobLogRepository
Methods
Get()
[HttpGet]
[Authorize(Roles = "Host Users")]
public IEnumerable<JobLog> Get()
Returns
- IEnumerable<JobLog>
Get(int)
[HttpGet("{id}")]
[Authorize(Roles = "Host Users")]
public JobLog Get(int id)
Parameters
id
int
Returns
- JobLog