C# Class iGoat.Data.UserRepository

Inheritance: IUserRepository
显示文件 Open project: AcklenAvenue/iGoat-Delivery-Back-End

Public Methods

Method Description
GetUser ( string authKey ) : User
GetUser ( string username, string password ) : User
UpdateNewAuthKey ( User user, string authKey ) : void
UserRepository ( ISession session ) : System

Method Details

GetUser() public method

public GetUser ( string authKey ) : User
authKey string
return iGoat.Domain.User

GetUser() public method

public GetUser ( string username, string password ) : User
username string
password string
return iGoat.Domain.User

UpdateNewAuthKey() public method

public UpdateNewAuthKey ( User user, string authKey ) : void
user iGoat.Domain.User
authKey string
return void

UserRepository() public method

public UserRepository ( ISession session ) : System
session ISession
return System