Пример #1
0
 public async Task <IActionResult> DeactivateScript(int id, CancellationToken cancellationToken)
 {
     if (id <= 0)
     {
         return(BadRequest());
     }
     return(Ok(await _service.Deactivate(id, cancellationToken)));
 }