示例#1
0
        public ActionResult <List <HabitResponse> > All(Guid userID)
        {
            var data = Habit.GetHabits(userID);

            if (data == null)
            {
                return(NotFound("user not found"));
            }

            return(data);
        }