aboutsummaryrefslogtreecommitdiff
path: root/src/Services/DevHive.Services/Interfaces/IRoleService.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Services/DevHive.Services/Interfaces/IRoleService.cs')
-rw-r--r--src/Services/DevHive.Services/Interfaces/IRoleService.cs17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/Services/DevHive.Services/Interfaces/IRoleService.cs b/src/Services/DevHive.Services/Interfaces/IRoleService.cs
new file mode 100644
index 0000000..36e5a01
--- /dev/null
+++ b/src/Services/DevHive.Services/Interfaces/IRoleService.cs
@@ -0,0 +1,17 @@
+using System;
+using System.Threading.Tasks;
+using DevHive.Services.Models.Role;
+
+namespace DevHive.Services.Interfaces
+{
+ public interface IRoleService
+ {
+ Task<Guid> CreateRole(CreateRoleServiceModel createRoleServiceModel);
+
+ Task<RoleServiceModel> GetRoleById(Guid id);
+
+ Task<bool> UpdateRole(UpdateRoleServiceModel updateRoleServiceModel);
+
+ Task<bool> DeleteRole(Guid id);
+ }
+}