Exemple #1
0
 public IActionResult DeleteScheduledJob(string id)
 {
     if (_cronApiService.ExistScheduledJob(id))
     {
         _cronApiService.DeleteJob(id);
         return(Ok());
     }
     else
     {
         return(BadRequest("no existe la tarea programada"));
     }
 }