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