public ActionResult <HabitResponse> Log(Guid userID, Guid id) { var result = Habit.AddLog(userID, id); if (result == null) { return(NotFound("Habit not found")); } return(result); }