Exemple #1
0
 public ActionResult Index(int ParentTaskId)
 {
     try
     {
         return(Ok(taskService.GetNonSubTask(ParentTaskId)));
     }
     catch (Exception ex)
     {
         _logger.LogError(ex, "SubTaskAPIController.Index");
         return(new StatusCodeResult(500));
     }
 }