File size: 361 Bytes
b9c7f0e
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
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);
    }
}