aboutsummaryrefslogtreecommitdiff
path: root/BackEnd/Timeline/Services/User
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-04-16 23:15:51 +0800
committercrupest <crupest@outlook.com>2022-04-16 23:15:51 +0800
commite7a441b8805f8b02ba37ab1f550fa2939fe9e7f0 (patch)
treed447644adbd41b3d4e0adc8800b00a7b88ad4ab7 /BackEnd/Timeline/Services/User
parenteb1b148146281449b56bd68d1f99b4e48287a0b7 (diff)
downloadtimeline-e7a441b8805f8b02ba37ab1f550fa2939fe9e7f0.tar.gz
timeline-e7a441b8805f8b02ba37ab1f550fa2939fe9e7f0.tar.bz2
timeline-e7a441b8805f8b02ba37ab1f550fa2939fe9e7f0.zip
...
Diffstat (limited to 'BackEnd/Timeline/Services/User')
-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);
+ }
+}