aboutsummaryrefslogtreecommitdiff
path: root/src/DevHive.Services/Interfaces/IRoleService.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/DevHive.Services/Interfaces/IRoleService.cs')
-rw-r--r--src/DevHive.Services/Interfaces/IRoleService.cs17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/DevHive.Services/Interfaces/IRoleService.cs b/src/DevHive.Services/Interfaces/IRoleService.cs
new file mode 100644
index 0000000..3bf236c
--- /dev/null
+++ b/src/DevHive.Services/Interfaces/IRoleService.cs
@@ -0,0 +1,17 @@
+using System;
+using System.Threading.Tasks;
+using DevHive.Common.Models.Identity;
+
+namespace DevHive.Services.Interfaces
+{
+ public interface IRoleService
+ {
+ Task<bool> CreateRole(RoleModel roleServiceModel);
+
+ Task<RoleModel> GetRoleById(Guid id);
+
+ Task<bool> UpdateRole(RoleModel roleServiceModel);
+
+ Task<bool> DeleteRole(Guid id);
+ }
+} \ No newline at end of file