aboutsummaryrefslogtreecommitdiff
path: root/BackEnd/Timeline/Services/User/RegisterCode/IRegisterCodeService.cs
blob: e4aa17fabf721e2e79959d529d8a0ca4592be2d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
using System.Collections.Generic;

namespace Timeline.Services.User.RegisterCode
{
    public interface IRegisterCodeService
    {
        string? GetCurrentRegisterCode(long userId);

        List<string> GetAllRegisterCodes(long userId);

        string CreateNewRegisterCode(long userId);

        List<long> GetUsersIntroducedByCode(string registerCode);

        List<long> GetUsersIntroducedByUser(long userId);
    }
}