diff options
Diffstat (limited to 'src/DevHive.Services/Interfaces')
| -rw-r--r-- | src/DevHive.Services/Interfaces/IFeedService.cs | 10 | ||||
| -rw-r--r-- | src/DevHive.Services/Interfaces/IRoleService.cs | 2 | ||||
| -rw-r--r-- | src/DevHive.Services/Interfaces/IUserService.cs | 2 |
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); } } |
