C# Class iGoat.Data.ProfileRepository

Inheritance: IProfileRepository
Afficher le fichier Open project: AcklenAvenue/iGoat-Delivery-Back-End

Méthodes publiques

Méthode Description
Get ( string key ) : Profile
Get ( string username, string password ) : Profile
ProfileRepository ( ISession session, ITimeProvider timeProvider ) : System
Update ( Profile profile ) : Profile
UpdateNewAuthKey ( int profileId, string key, System.DateTime expires ) : void

Method Details

Get() public méthode

public Get ( string key ) : Profile
key string
Résultat iGoat.Domain.Entities.Profile

Get() public méthode

public Get ( string username, string password ) : Profile
username string
password string
Résultat iGoat.Domain.Entities.Profile

ProfileRepository() public méthode

public ProfileRepository ( ISession session, ITimeProvider timeProvider ) : System
session ISession
timeProvider ITimeProvider
Résultat System

Update() public méthode

public Update ( Profile profile ) : Profile
profile iGoat.Domain.Entities.Profile
Résultat iGoat.Domain.Entities.Profile

UpdateNewAuthKey() public méthode

public UpdateNewAuthKey ( int profileId, string key, System.DateTime expires ) : void
profileId int
key string
expires System.DateTime
Résultat void