Method | Description | |
---|---|---|
ContestantRepository ( ) : System.Linq |
Initialize a repository with default connection string found in the 'SaimoeContext' section of the application configuration file.
|
|
ContestantRepository ( string connectionString ) : System.Linq |
Initialize a repository with given connection string.
|
|
GetContestant ( string googlePlusId ) : Contestant |
Get contestant info by google plus id
|
|
UpdateProfile ( |
Update profile of contestant
|
Method | Description | |
---|---|---|
AddContestant ( Contestant contestant ) : void |
Add a new contestant
|
|
UpdateProfileByGoogleId ( string googlePlusId, |
public ContestantRepository ( ) : System.Linq | ||
return | System.Linq |
public ContestantRepository ( string connectionString ) : System.Linq | ||
connectionString | string | connection string |
return | System.Linq |
public GetContestant ( string googlePlusId ) : Contestant | ||
googlePlusId | string | google plus id |
return | Saimoe.Models.Contestant |
public UpdateProfile ( |
||
profile | ||
return | void |