35 lines
935 B
C#
35 lines
935 B
C#
namespace LaaProduction.Personalization.Repositories.Interfaces
|
|
{
|
|
using System;
|
|
using System.Collections.Generic;
|
|
|
|
public interface IFunctionsRepository
|
|
{
|
|
void AddEmployeesFunctions(Int32 functionId, IEnumerable<Int16> employees);
|
|
|
|
Int32 AddFunction(Int16 softwareId, String function);
|
|
|
|
IEnumerable<String> All();
|
|
|
|
IEnumerable<String> All(Int16 appId);
|
|
|
|
void Delete(Int16 employeeId);
|
|
|
|
void DeleteEmployeesFunctions(Int32 functionId);
|
|
|
|
void DeleteFunction(Int32 functionId);
|
|
|
|
IEnumerable<String> EmployeeAll(Int16 employeeId);
|
|
|
|
Boolean Exists(Int32 softwareId, Int32 functionId);
|
|
|
|
IEnumerable<String> Find(String token);
|
|
|
|
void Insert(Int16 employeeId, IEnumerable<String> functions);
|
|
|
|
void UpdateFunction(Int32 functionId, String function);
|
|
|
|
IEnumerable<KeyValuePair<Int16, Int32>> UserFunctionsCount();
|
|
}
|
|
}
|