コード例 #1
0
        public ActionResult <HabitResponse> DeleteHabit(Guid userID, Guid id)
        {
            var result = Habit.DeleteHabit(id, userID);

            if (result == null)
            {
                return(NotFound("Habit not found"));
            }

            return(result);
        }