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