blob: b83a2e6f5a1ff5c7b097fba5961a3e4efa4a7c67 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
using System;
using System.Threading.Tasks;
using Data.Models.Interfaces.Database;
using DevHive.Data.Models;
using Microsoft.EntityFrameworkCore;
namespace DevHive.Data.Repositories
{
public class RoleRepository : IRepository<Role>
{
private readonly DbContext _context;
public RoleRepository(DbContext context)
{
this._context = context;
}
public async Task AddAsync(Role entity)
{
throw new NotImplementedException();
}
public async Task<Role> GetByIdAsync(Guid id)
{
throw new NotImplementedException();
}
public async Task EditAsync(Role newEntity)
{
throw new NotImplementedException();
}
public async Task DeleteAsync(Role entity)
{
throw new NotImplementedException();
}
public async Task<bool> DoesNameExist(string name)
{
throw new NotImplementedException();
}
public async Task<bool> DoesRoleExist(Guid id)
{
throw new NotImplementedException();
}
}
}
|