aboutsummaryrefslogtreecommitdiff
path: root/src/DevHive.Services/Interfaces/IRoleService.cs
blob: 3a498d2437f1c6cb0faa5ef68d6a7b1d6eba13c6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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);
	}
}