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