namespace LaaProduction.Personalization.Repositories.Interfaces { using LaaProduction.Personalization.Models; using System.Collections.Generic; internal interface IEmployeesRepository { IEnumerable All(); void CreateToken(short appId, short userId); short FindEmployeeNr(int employeeId); short FindEmployeeNr(string username, string password); Employee Find(short employeeId); Employee GetEmployee(string token); string GetToken(short appId, short userId); EmployeeToken GetTokenData(string token); IEnumerable GetUserRoles(string token); short Insert(int employeeId, string firstName, string lastName, string phone, string email, string username, string domainname, string password); void ResetPassword(short employeeId); void ResetTokens(short employeeId); bool SetPassword(short employeeId, string password); short Update(int employeeId, string firstName, string lastName, string phone, string email, string username, string domainname, string password); } }