24 lines
567 B
C#
24 lines
567 B
C#
namespace LaaProduction.Personalization.Repositories.Interfaces
|
|
{
|
|
using LaaProduction.Personalization.Models;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
internal interface IRolesRepository
|
|
{
|
|
IEnumerable<Role> All();
|
|
|
|
IEnumerable<string> All(short employeeId);
|
|
|
|
void Delete(short employeeId);
|
|
|
|
void Insert(short employeeId, IEnumerable<string> roles);
|
|
|
|
void Insert(string role, IEnumerable<short> employees);
|
|
|
|
void Delete(string role);
|
|
|
|
IEnumerable<KeyValuePair<int, int>> UsersRolesCount();
|
|
}
|
|
}
|