public ActionResult <IEnumerable <SubTaskDto> > Get([FromQuery] int userId) { try { return(Ok(_subTaskService.GetUserSubTasks(userId))); } catch (Exception ex) { return(BadRequest(ex.Message)); } }