C# Class MiniHawraman.Core.Services.Implementations.MembershipService

Inheritance: IMembershipService
显示文件 Open project: keyvan/MiniHawraman

Public Methods

Method Description
ChangePassword ( string userName, string oldPassword, string newPassword ) : bool
MembershipService ( ) : MiniHawraman.Core.Services.Interfaces
MembershipService ( UserService userService ) : MiniHawraman.Core.Services.Interfaces
ValidateUser ( string userName, string password ) : bool

Method Details

ChangePassword() public method

public ChangePassword ( string userName, string oldPassword, string newPassword ) : bool
userName string
oldPassword string
newPassword string
return bool

MembershipService() public method

public MembershipService ( ) : MiniHawraman.Core.Services.Interfaces
return MiniHawraman.Core.Services.Interfaces

MembershipService() public method

public MembershipService ( UserService userService ) : MiniHawraman.Core.Services.Interfaces
userService UserService
return MiniHawraman.Core.Services.Interfaces

ValidateUser() public method

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