18 lines
389 B
C#
18 lines
389 B
C#
using System.Threading.Tasks;
|
|
using CommonDomain;
|
|
using UserDomain.Entity;
|
|
|
|
namespace CommonService
|
|
{
|
|
public interface ILotteryService
|
|
{
|
|
|
|
|
|
Task<LotteryUserStatus?> GetUserStatus(string userId);
|
|
|
|
Task<(bool success, string message, LotteryPrize? prize, long cost)> Draw(string userId);
|
|
|
|
Task<List<string>> GetUserDrawnPrizes(string userId);
|
|
}
|
|
}
|