Website Summary Files Commits Branches @commit @diff @stats
path: root / src / Data / DevHive.Data / Interfaces / IRoleRepository.cs
blob: b12772c94f3ae2ccda489d660f06c7cd17e015fa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
using System;
using System.Threading.Tasks;
using DevHive.Data.Models;

namespace DevHive.Data.Interfaces
{
	public interface IRoleRepository : IRepository<Role>
	{
		Task<Role> GetByNameAsync(string name);

		Task<bool> DoesNameExist(string name);
		Task<bool> DoesRoleExist(Guid id);
	}
}