Esempio n. 1
0
        public ActionResult <HabitResponse> Get(Guid userID, Guid id)
        {
            var data = Habit.GetHabit(userID, id);

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

            return(data);
        }