employees

This commit is contained in:
Stoyan Zlatev
2023-06-15 17:01:02 +02:00
parent d3cf7e29c2
commit 6f9b448b33
91 changed files with 1215 additions and 376 deletions
@@ -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);
}
}