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