public Int32 GetLongestStreak(Guid HabitId)
 {
     return(logsRepository.GetLongestStreak(HabitId));
 }