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.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/DevHive.Services/Interfaces/IRoleService.cs b/src/DevHive.Services/Interfaces/IRoleService.cs
index 2c7195c..a7a0e47 100644
--- a/src/DevHive.Services/Interfaces/IRoleService.cs
+++ b/src/DevHive.Services/Interfaces/IRoleService.cs
@@ -1,16 +1,16 @@
using System;
using System.Threading.Tasks;
-using DevHive.Common.Models.Identity;
+using DevHive.Services.Models.Identity.Role;
namespace DevHive.Services.Interfaces
{
- public interface IRoleService
+ public interface IRoleService
{
- Task<bool> CreateRole(RoleModel roleServiceModel);
+ Task<Guid> CreateRole(RoleServiceModel roleServiceModel);
- Task<RoleModel> GetRoleById(Guid id);
+ Task<RoleServiceModel> GetRoleById(Guid id);
- Task<bool> UpdateRole(RoleModel roleServiceModel);
+ Task<bool> UpdateRole(RoleServiceModel roleServiceModel);
Task<bool> DeleteRole(Guid id);
}