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