34 lines
900 B
C#
34 lines
900 B
C#
namespace LaaProduction.Personalization.Repositories.Interfaces
|
|
{
|
|
using System.Collections.Generic;
|
|
|
|
internal interface IFunctionsRepository
|
|
{
|
|
void AddEmployeesFunctions(int functionId, IEnumerable<short> employees);
|
|
|
|
int AddFunction(short softwareId, string function);
|
|
|
|
IEnumerable<string> All();
|
|
|
|
IEnumerable<string> All(short appId);
|
|
|
|
void Delete(short employeeId);
|
|
|
|
void DeleteEmployeesFunctions(int functionId);
|
|
|
|
void DeleteFunction(int functionId);
|
|
|
|
IEnumerable<string> EmployeeAll(short employeeId);
|
|
|
|
bool Exists(int softwareId, int functionId);
|
|
|
|
IEnumerable<string> Find(string token);
|
|
|
|
void Insert(short employeeId, IEnumerable<string> functions);
|
|
|
|
void UpdateFunction(int functionId, string function);
|
|
|
|
IEnumerable<KeyValuePair<short, int>> UserFunctionsCount();
|
|
}
|
|
}
|