FlowAPI / FlowAPI.Application /Interfaces /IAchievementService.cs
danylokhodus's picture
init
b9c7f0e
Raw
History Blame Contribute Delete
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);
}
}