C# Class EasyTeach.Data.Repostitories.UserTokenRepository

Inheritance: IUserTokenRepository
Afficher le fichier Open project: WadeOne/EasyTeach Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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

GetUserTokenAsync() public méthode

public GetUserTokenAsync ( string purpose, string token, int userId ) : Task
purpose string
token string
userId int
Résultat Task

UserTokenRepository() public méthode

public UserTokenRepository ( EasyTeachContext context ) : System
context EasyTeach.Data.Context.EasyTeachContext
Résultat System