aboutsummaryrefslogtreecommitdiff
path: root/src/Services/DevHive.Services/Interfaces/IRoleService.cs
blob: 2c31b0629ed12fa0ad2a1586c79b6f3195b9f7d8 (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.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);
	}
}