C# Class Membership.Service.EmployeeMembershipService

Inheritance: IEmployeeMembershipService
Afficher le fichier Open project: serdarb/Membership-Service

Méthodes publiques

Méthode Description
AddAddress ( AddressDto dto ) : bool
AddPhone ( PhoneDto dto ) : bool
AuthEmployee ( string userName, string password ) : bool
ChangePasswordForEmployee ( string email, string newPasswordHash ) : bool
CreateEmployee ( EmployeeDto dto ) : int
DeleteEmployee ( EmployeeDto dto ) : bool
GetEmployee ( string email ) : EmployeeDto
GetEmployeeById ( int id ) : EmployeeDto
GetEmployeeIdByEmailorUserName ( string emailorUserName ) : int
GetEmployees ( ) : List
IsPasswordResetRequestValid ( string email, string guid ) : bool
RequestPasswordResetForEmployee ( string email ) : bool

Method Details

AddAddress() public méthode

public AddAddress ( AddressDto dto ) : bool
dto Membership.Contract.AddressDto
Résultat bool

AddPhone() public méthode

public AddPhone ( PhoneDto dto ) : bool
dto Membership.Contract.PhoneDto
Résultat bool

AuthEmployee() public méthode

public AuthEmployee ( string userName, string password ) : bool
userName string
password string
Résultat bool

ChangePasswordForEmployee() public méthode

public ChangePasswordForEmployee ( string email, string newPasswordHash ) : bool
email string
newPasswordHash string
Résultat bool

CreateEmployee() public méthode

public CreateEmployee ( EmployeeDto dto ) : int
dto Membership.Contract.EmployeeDto
Résultat int

DeleteEmployee() public méthode

public DeleteEmployee ( EmployeeDto dto ) : bool
dto Membership.Contract.EmployeeDto
Résultat bool

GetEmployee() public méthode

public GetEmployee ( string email ) : EmployeeDto
email string
Résultat Membership.Contract.EmployeeDto

GetEmployeeById() public méthode

public GetEmployeeById ( int id ) : EmployeeDto
id int
Résultat Membership.Contract.EmployeeDto

GetEmployeeIdByEmailorUserName() public méthode

public GetEmployeeIdByEmailorUserName ( string emailorUserName ) : int
emailorUserName string
Résultat int

GetEmployees() public méthode

public GetEmployees ( ) : List
Résultat List

IsPasswordResetRequestValid() public méthode

public IsPasswordResetRequestValid ( string email, string guid ) : bool
email string
guid string
Résultat bool

RequestPasswordResetForEmployee() public méthode

public RequestPasswordResetForEmployee ( string email ) : bool
email string
Résultat bool