employees
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
namespace LaaProduction.Personalization.Interfaces
|
||||
{
|
||||
using System.Security.Principal;
|
||||
|
||||
public interface IAccountManager
|
||||
{
|
||||
string GetAuthToken(string username, string password, string software);
|
||||
|
||||
IPrincipal GetClaimsPrincipal(string token);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
namespace LaaProduction.Personalization.Interfaces
|
||||
{
|
||||
using System.Collections.Generic;
|
||||
|
||||
public interface IEmployeesManager
|
||||
{
|
||||
object GetEmployee(short employeeId);
|
||||
|
||||
IEnumerable<object> GetEmployees();
|
||||
|
||||
IDictionary<string, bool> GetRoles(short employeeId);
|
||||
|
||||
IEnumerable<string> GetRoles();
|
||||
|
||||
void UpdateEmployeeRoles(short employeeId, IEnumerable<string> roles);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user