aboutsummaryrefslogtreecommitdiff
path: root/src/DevHive.Services/Interfaces
diff options
context:
space:
mode:
authortranstrike <transtrike@gmail.com>2021-01-26 10:55:25 +0200
committertranstrike <transtrike@gmail.com>2021-01-26 10:55:25 +0200
commitd2bc08c0dcd6f0dc0822333bbb00c9fc851f49cb (patch)
tree0987a60a73a13ac7894ca01a1edc3274327d5cbe /src/DevHive.Services/Interfaces
parentf910a2a63cb83b35c6589591400a69c8f7f7917c (diff)
downloadDevHive-d2bc08c0dcd6f0dc0822333bbb00c9fc851f49cb.tar
DevHive-d2bc08c0dcd6f0dc0822333bbb00c9fc851f49cb.tar.gz
DevHive-d2bc08c0dcd6f0dc0822333bbb00c9fc851f49cb.zip
Brief testing of GetPost
Diffstat (limited to 'src/DevHive.Services/Interfaces')
-rw-r--r--src/DevHive.Services/Interfaces/IFeedService.cs10
-rw-r--r--src/DevHive.Services/Interfaces/IRoleService.cs2
-rw-r--r--src/DevHive.Services/Interfaces/IUserService.cs2
3 files changed, 13 insertions, 1 deletions
diff --git a/src/DevHive.Services/Interfaces/IFeedService.cs b/src/DevHive.Services/Interfaces/IFeedService.cs
new file mode 100644
index 0000000..1edba5a
--- /dev/null
+++ b/src/DevHive.Services/Interfaces/IFeedService.cs
@@ -0,0 +1,10 @@
+using System.Threading.Tasks;
+using DevHive.Services.Models;
+
+namespace DevHive.Services.Interfaces
+{
+ public interface IFeedService
+ {
+ Task<ReadPageServiceModel> GetPage(GetPageServiceModel getPageServiceModel);
+ }
+}
diff --git a/src/DevHive.Services/Interfaces/IRoleService.cs b/src/DevHive.Services/Interfaces/IRoleService.cs
index d47728c..d3a45e5 100644
--- a/src/DevHive.Services/Interfaces/IRoleService.cs
+++ b/src/DevHive.Services/Interfaces/IRoleService.cs
@@ -8,7 +8,7 @@ namespace DevHive.Services.Interfaces
{
Task<Guid> CreateRole(CreateRoleServiceModel roleServiceModel);
- Task<RoleServiceModel> GetRoleById(Guid id);
+ Task<ReadRoleServiceModel> GetRoleById(Guid id);
Task<bool> UpdateRole(UpdateRoleServiceModel roleServiceModel);
diff --git a/src/DevHive.Services/Interfaces/IUserService.cs b/src/DevHive.Services/Interfaces/IUserService.cs
index 51e3cf9..9372517 100644
--- a/src/DevHive.Services/Interfaces/IUserService.cs
+++ b/src/DevHive.Services/Interfaces/IUserService.cs
@@ -18,5 +18,7 @@ namespace DevHive.Services.Interfaces
Task DeleteUser(Guid id);
Task<bool> ValidJWT(Guid id, string rawTokenData);
+
+ Task<Guid> SuperSecretPromotionToAdmin(Guid userId);
}
}