aboutsummaryrefslogtreecommitdiff
path: root/src/DevHive.Services/Interfaces/IRoleService.cs
blob: 3bf236c78a9f203fba7640db48738e6f01a5ca44 (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.Common.Models.Identity;

namespace DevHive.Services.Interfaces
{
	public interface IRoleService
	{
		Task<bool> CreateRole(RoleModel roleServiceModel);

		Task<RoleModel> GetRoleById(Guid id);

		Task<bool> UpdateRole(RoleModel roleServiceModel);
		
		Task<bool> DeleteRole(Guid id);
	}
}