Spaces:
Running
Running
Download FlowAPI.Application/Interfaces/IAchievementRepository.cs from DanilDrotik/FlowAPI: direct link, hf CLI and curl.
- Browser
- Download file 464 Bytes
-
https://huggingface.co/spaces/DanilDrotik/FlowAPI/resolve/d8ea1e09beb0ef2cedc523cc8585fea6cc52c013/FlowAPI.Application/Interfaces/IAchievementRepository.cs
- Command line
-
hf download hf://spaces/DanilDrotik/FlowAPI@d8ea1e09beb0ef2cedc523cc8585fea6cc52c013/FlowAPI.Application/Interfaces/IAchievementRepository.cs
-
curl -L -o IAchievementRepository.cs https://huggingface.co/spaces/DanilDrotik/FlowAPI/resolve/d8ea1e09beb0ef2cedc523cc8585fea6cc52c013/FlowAPI.Application/Interfaces/IAchievementRepository.cs
464 Bytes
| using FlowAPI.Domain.Entities; | |
| using System.Collections.Generic; | |
| using System.Threading.Tasks; | |
| namespace FlowAPI.Application.Interfaces | |
| { | |
| public interface IAchievementRepository : IGenericRepository<Achievement> | |
| { | |
| Task<IEnumerable<Achievement>> GetByTriggerEventAsync(string eventName); | |
| Task<IEnumerable<Achievement>> GetByTitlesAsync(IEnumerable<string> titles); | |
| Task AddRangeAsync(IEnumerable<Achievement> achievements); | |
| } | |
| } | |