C# Класс Membership.Service.EmployeeMembershipService

Наследование: IEmployeeMembershipService
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

AddAddress() публичный Метод

public AddAddress ( AddressDto dto ) : bool
dto Membership.Contract.AddressDto
Результат bool

AddPhone() публичный Метод

public AddPhone ( PhoneDto dto ) : bool
dto Membership.Contract.PhoneDto
Результат bool

AuthEmployee() публичный Метод

public AuthEmployee ( string userName, string password ) : bool
userName string
password string
Результат bool

ChangePasswordForEmployee() публичный Метод

public ChangePasswordForEmployee ( string email, string newPasswordHash ) : bool
email string
newPasswordHash string
Результат bool

CreateEmployee() публичный Метод

public CreateEmployee ( EmployeeDto dto ) : int
dto Membership.Contract.EmployeeDto
Результат int

DeleteEmployee() публичный Метод

public DeleteEmployee ( EmployeeDto dto ) : bool
dto Membership.Contract.EmployeeDto
Результат bool

GetEmployee() публичный Метод

public GetEmployee ( string email ) : EmployeeDto
email string
Результат Membership.Contract.EmployeeDto

GetEmployeeById() публичный Метод

public GetEmployeeById ( int id ) : EmployeeDto
id int
Результат Membership.Contract.EmployeeDto

GetEmployeeIdByEmailorUserName() публичный Метод

public GetEmployeeIdByEmailorUserName ( string emailorUserName ) : int
emailorUserName string
Результат int

GetEmployees() публичный Метод

public GetEmployees ( ) : List
Результат List

IsPasswordResetRequestValid() публичный Метод

public IsPasswordResetRequestValid ( string email, string guid ) : bool
email string
guid string
Результат bool

RequestPasswordResetForEmployee() публичный Метод

public RequestPasswordResetForEmployee ( string email ) : bool
email string
Результат bool