Spaces:
Running
Running
| using FlowAPI.Application.DTOs.Habit; | |
| namespace FlowAPI.Application.Interfaces | |
| { | |
| public interface IHabitService | |
| { | |
| Task<IEnumerable<HabitRecordResponseDto>> GetAllByUserIdAsync(Guid userId); | |
| Task<HabitRecordResponseDto> RecordHabitAsync(CreateHabitRecordDto dto); | |
| Task<int> GetStreakAsync(Guid userId, string habitName); | |
| } | |
| } | |