Method | Description | |
---|---|---|
AddNotification ( int destinationID, int sourceID, String message, String icon, String url, bool autoSave = true ) : void |
Adds a notification to the system
|
|
AdminAddNewsItem ( |
||
AdminEditHighlights ( |
||
AdminEditSiteSettings ( |
||
ExpireAuthorizationToken ( string token ) : bool | ||
GenerateAuthorizationToken ( string username, string IPAddress ) : external_token | ||
GetAuthorizationToken ( string token ) : external_token | ||
GetAuthorizationTokenByRefresh ( string refreshToken ) : external_token | ||
GetNewsForFeed ( ) : List |
||
IgnoreNotification ( int id, int userID ) : System.Boolean | ||
RefreshAuthorizationToken ( string token, string refreshToken ) : external_token | ||
RemoveAuthorizationToken ( string refreshToken ) : bool | ||
Save ( ) : void | ||
SystemRepository ( IUnitOfWork unitOfWork ) : System |
Creates a new user repository
|
Method | Description | |
---|---|---|
AdminEditNewsItem ( int id, |
public AddNotification ( int destinationID, int sourceID, String message, String icon, String url, bool autoSave = true ) : void | ||
destinationID | int | The ID of the user who is getting notified |
sourceID | int | The ID of the source user |
message | String | The notification message |
icon | String | The icon |
url | String | The url this notification should redirect to |
autoSave | bool | Should this method auto save the unit of work? |
return | void |
public AdminAddNewsItem ( |
||
model | ||
return | void |
public AdminEditHighlights ( |
||
model | ||
return | void |
public AdminEditSiteSettings ( |
||
model | ||
return | void |
public ExpireAuthorizationToken ( string token ) : bool | ||
token | string | |
return | bool |
public GenerateAuthorizationToken ( string username, string IPAddress ) : external_token | ||
username | string | |
IPAddress | string | |
return | external_token |
public GetAuthorizationToken ( string token ) : external_token | ||
token | string | |
return | external_token |
public GetAuthorizationTokenByRefresh ( string refreshToken ) : external_token | ||
refreshToken | string | |
return | external_token |
public IgnoreNotification ( int id, int userID ) : System.Boolean | ||
id | int | |
userID | int | |
return | System.Boolean |
public RefreshAuthorizationToken ( string token, string refreshToken ) : external_token | ||
token | string | |
refreshToken | string | |
return | external_token |
public RemoveAuthorizationToken ( string refreshToken ) : bool | ||
refreshToken | string | |
return | bool |
public SystemRepository ( IUnitOfWork unitOfWork ) : System | ||
unitOfWork | IUnitOfWork | The unit of work that created this repository |
return | System |