aboutsummaryrefslogtreecommitdiff
path: root/BackEnd/Timeline/Services
diff options
context:
space:
mode:
Diffstat (limited to 'BackEnd/Timeline/Services')
-rw-r--r--BackEnd/Timeline/Services/User/RegisterCode/IRegisterCodeService.cs17
1 files changed, 17 insertions, 0 deletions
diff --git a/BackEnd/Timeline/Services/User/RegisterCode/IRegisterCodeService.cs b/BackEnd/Timeline/Services/User/RegisterCode/IRegisterCodeService.cs
new file mode 100644
index 00000000..e4aa17fa
--- /dev/null
+++ b/BackEnd/Timeline/Services/User/RegisterCode/IRegisterCodeService.cs
@@ -0,0 +1,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);
+ }
+}