Spaces:
Running
Running
Download FlowAPI.Application/Interfaces/IHabitService.cs from DanilDrotik/FlowAPI: direct link, hf CLI and curl.
- Browser
- Download file 361 Bytes
-
https://huggingface.co/spaces/DanilDrotik/FlowAPI/resolve/c8301b4e0f289c0e69fa026bb49f7828aec1850d/FlowAPI.Application/Interfaces/IHabitService.cs
- Command line
-
hf download hf://spaces/DanilDrotik/FlowAPI@c8301b4e0f289c0e69fa026bb49f7828aec1850d/FlowAPI.Application/Interfaces/IHabitService.cs
-
curl -L -o IHabitService.cs https://huggingface.co/spaces/DanilDrotik/FlowAPI/resolve/c8301b4e0f289c0e69fa026bb49f7828aec1850d/FlowAPI.Application/Interfaces/IHabitService.cs
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); | |
| } | |
| } | |