Exemplo n.º 1
0
        public async Task <IActionResult> GetAllTasks(int studyId)
        {
            var allTasks = await _taskLogic.GetallTasks();

            if (allTasks == null)
            {
                return(NotFound());
            }
            return(Ok(allTasks));
        }