FlowAPI / FlowAPI.Application /Interfaces /IHabitService.cs
danylokhodus's picture
init
b9c7f0e
Raw
History Blame Contribute Delete
361 Bytes
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);
}
}