C# Class Membership.Service.SupplierEmployeeMembershipService

The supplier employee membership service.
Inheritance: BaseMembershipService, ISupplierEmployeeMembershipService
Exibir arquivo Open project: serdarb/Membership-Service

Public Methods

Method Description
AddAddress ( AddressDto dto ) : bool
AddPhone ( PhoneDto dto ) : bool
AuthSupplierEmployee ( string userName, string password ) : bool
ChangePasswordForSupplierEmployee ( string email, string newPasswordHash ) : bool
CreateSupplier ( SupplierDto dto ) : int
CreateSupplierEmployee ( SupplierEmployeeDto dto ) : int
DeleteSupplierEmployee ( SupplierEmployeeDto dto ) : bool
DoesSupplierEmployeeEmailExists ( string Email ) : bool
GetSupplierEmployee ( string email ) : SupplierEmployeeDto
GetSupplierEmployeeById ( int id ) : SupplierEmployeeDto
IsPasswordResetRequestValid ( string email, string guid ) : bool
RequestPasswordResetForSupplierEmployee ( string email ) : bool

Method Details

AddAddress() public method

public AddAddress ( AddressDto dto ) : bool
dto Membership.Contract.AddressDto
return bool

AddPhone() public method

public AddPhone ( PhoneDto dto ) : bool
dto Membership.Contract.PhoneDto
return bool

AuthSupplierEmployee() public method

public AuthSupplierEmployee ( string userName, string password ) : bool
userName string
password string
return bool

ChangePasswordForSupplierEmployee() public method

public ChangePasswordForSupplierEmployee ( string email, string newPasswordHash ) : bool
email string
newPasswordHash string
return bool

CreateSupplier() public method

public CreateSupplier ( SupplierDto dto ) : int
dto Membership.Contract.SupplierDto
return int

CreateSupplierEmployee() public method

public CreateSupplierEmployee ( SupplierEmployeeDto dto ) : int
dto Membership.Contract.SupplierEmployeeDto
return int

DeleteSupplierEmployee() public method

public DeleteSupplierEmployee ( SupplierEmployeeDto dto ) : bool
dto Membership.Contract.SupplierEmployeeDto
return bool

DoesSupplierEmployeeEmailExists() public method

public DoesSupplierEmployeeEmailExists ( string Email ) : bool
Email string
return bool

GetSupplierEmployee() public method

public GetSupplierEmployee ( string email ) : SupplierEmployeeDto
email string
return Membership.Contract.SupplierEmployeeDto

GetSupplierEmployeeById() public method

public GetSupplierEmployeeById ( int id ) : SupplierEmployeeDto
id int
return Membership.Contract.SupplierEmployeeDto

IsPasswordResetRequestValid() public method

public IsPasswordResetRequestValid ( string email, string guid ) : bool
email string
guid string
return bool

RequestPasswordResetForSupplierEmployee() public method

public RequestPasswordResetForSupplierEmployee ( string email ) : bool
email string
return bool