Spaces:
Running
Running
Download FlowAPI.Application/Interfaces/IHabitRecordRepository.cs from DanilDrotik/FlowAPI: direct link, hf CLI and curl.
- Browser
- Download file 415 Bytes
-
https://huggingface.co/spaces/DanilDrotik/FlowAPI/resolve/c8301b4e0f289c0e69fa026bb49f7828aec1850d/FlowAPI.Application/Interfaces/IHabitRecordRepository.cs
- Command line
-
hf download hf://spaces/DanilDrotik/FlowAPI@c8301b4e0f289c0e69fa026bb49f7828aec1850d/FlowAPI.Application/Interfaces/IHabitRecordRepository.cs
-
curl -L -o IHabitRecordRepository.cs https://huggingface.co/spaces/DanilDrotik/FlowAPI/resolve/c8301b4e0f289c0e69fa026bb49f7828aec1850d/FlowAPI.Application/Interfaces/IHabitRecordRepository.cs
415 Bytes
| using FlowAPI.Domain.Entities; | |
| namespace FlowAPI.Application.Interfaces | |
| { | |
| public interface IHabitRecordRepository : IGenericRepository<HabitRecord> | |
| { | |
| Task<IEnumerable<HabitRecord>> GetAllByUserIdAsync(Guid userId); | |
| Task<HabitRecord?> GetTodayRecordAsync(Guid userId, string habitName); | |
| Task<HabitRecord?> GetRecordForDateAsync(Guid userId, string habitName, DateTime date); | |
| } | |
| } | |