Beispiel #1
0
        public IActionResult ListTasksOfUser(int userId)
        {
            var list = taskServices.GetAllOfUser(userId);

            if (list == null)
            {
                return(Ok(new { data = new Task_Output[] { } }));
            }
            return(Ok(new { data = list }));
        }