blob: e83436935608f41a7299b8bd77659b3f378918da (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
using System;
using System.Threading.Tasks;
using DevHive.Data.Models;
using DevHive.Data.Repositories.Interfaces;
namespace DevHive.Data.Interfaces.Repositories
{
public interface IRoleRepository : IRepository<Role>
{
Task<Role> GetByNameAsync(string name);
Task<bool> DoesNameExist(string name);
Task<bool> DoesRoleExist(Guid id);
}
}
|