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/d8ea1e09beb0ef2cedc523cc8585fea6cc52c013/FlowAPI.Application/Interfaces/IHabitService.cs
- Command line
-
hf download hf://spaces/DanilDrotik/FlowAPI@d8ea1e09beb0ef2cedc523cc8585fea6cc52c013/FlowAPI.Application/Interfaces/IHabitService.cs
-
curl -L -o IHabitService.cs https://huggingface.co/spaces/DanilDrotik/FlowAPI/resolve/d8ea1e09beb0ef2cedc523cc8585fea6cc52c013/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); | |
| } | |
| } | |