C# Class EasyTeach.Data.Repostitories.UserTokenRepository

Inheritance: IUserTokenRepository
ファイルを表示 Open project: WadeOne/EasyTeach Class Usage Examples

Public Methods

Method Description
CreateAsync ( string purpose, string token, int userId ) : System.Threading.Tasks.Task
GetUserTokenAsync ( string purpose, string token, int userId ) : Task
UserTokenRepository ( EasyTeachContext context ) : System

Method Details

CreateAsync() public method

public CreateAsync ( string purpose, string token, int userId ) : System.Threading.Tasks.Task
purpose string
token string
userId int
return System.Threading.Tasks.Task

GetUserTokenAsync() public method

public GetUserTokenAsync ( string purpose, string token, int userId ) : Task
purpose string
token string
userId int
return Task

UserTokenRepository() public method

public UserTokenRepository ( EasyTeachContext context ) : System
context EasyTeach.Data.Context.EasyTeachContext
return System