Example #1
0
 public async Task <IActionResult> ActivateScript(int id, CancellationToken cancellationToken)
 {
     if (id <= 0)
     {
         return(BadRequest());
     }
     return(Ok(await _service.Activate(id, cancellationToken)));
 }