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..d47728c
--- /dev/null
+++ b/src/DevHive.Services/Interfaces/IRoleService.cs
@@ -0,0 +1,17 @@
+using System;
+using System.Threading.Tasks;
+using DevHive.Services.Models.Identity.Role;
+
+namespace DevHive.Services.Interfaces
+{
+ public interface IRoleService
+ {
+ Task<Guid> CreateRole(CreateRoleServiceModel roleServiceModel);
+
+ Task<RoleServiceModel> GetRoleById(Guid id);
+
+ Task<bool> UpdateRole(UpdateRoleServiceModel roleServiceModel);
+
+ Task<bool> DeleteRole(Guid id);
+ }
+}