コード例 #1
0
        public ActionResult <Habit> Log(Guid user_id, Guid id)
        {
            Habit h = HabitRepository.GetHabitByID(id, user_id);

            h.LogIn(DateTime.Now);

            return(Ok(h));
        }