C# Class ShameTheThrones.Models.UserModel

显示文件 Open project: jasekiw/ShameTheThrones Class Usage Examples

Public Properties

Property Type Description
DeletedAt DateTime?

Private Properties

Property Type Description
CalculateMD5Hash string

Public Methods

Method Description
Register ( UserModel user ) : void
getId ( ) : int
isValid ( string email, string password ) : bool

Private Methods

Method Description
CalculateMD5Hash ( string input ) : string

Method Details

Register() public method

public Register ( UserModel user ) : void
user UserModel
return void

getId() public method

public getId ( ) : int
return int

isValid() public method

public isValid ( string email, string password ) : bool
email string
password string
return bool

Property Details

DeletedAt public_oe property

public DateTime? DeletedAt
return DateTime?