Spaces:
Running
Running
Download FlowAPI.Application/Interfaces/IAchievementService.cs from DanilDrotik/FlowAPI: direct link, hf CLI and curl.
- Browser
- Download file 411 Bytes
-
https://huggingface.co/spaces/DanilDrotik/FlowAPI/resolve/d8ea1e09beb0ef2cedc523cc8585fea6cc52c013/FlowAPI.Application/Interfaces/IAchievementService.cs
- Command line
-
hf download hf://spaces/DanilDrotik/FlowAPI@d8ea1e09beb0ef2cedc523cc8585fea6cc52c013/FlowAPI.Application/Interfaces/IAchievementService.cs
-
curl -L -o IAchievementService.cs https://huggingface.co/spaces/DanilDrotik/FlowAPI/resolve/d8ea1e09beb0ef2cedc523cc8585fea6cc52c013/FlowAPI.Application/Interfaces/IAchievementService.cs
411 Bytes
| using FlowAPI.Application.DTOs; | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Threading.Tasks; | |
| namespace FlowAPI.Application.Interfaces | |
| { | |
| public interface IAchievementService | |
| { | |
| Task<IEnumerable<UserAchievementDto>> GetUserAchievementsAsync(Guid userId); | |
| Task SeedAchievementsAsync(); | |
| Task ProcessEventAsync(Guid userId, string eventName, int amount = 1); | |
| } | |
| } | |