Méthode | Description | |
---|---|---|
CreateComment ( |
Gets an instance of a comment object through parameter of the function, if the object isn't null persist it to the datasource.
|
|
CreateLike ( |
Gets an instance of a commentlike object through parameter of the function, if the object isn't null persist it to the datasource.
|
|
DeleteComment ( int commentId ) : void |
Gets an integer value of a comment object to remove from the datasource, if the id is equal or larger then 1 then remove it.
|
|
DeleteLike ( int commentLikeId ) : void |
Gets an integer value of a commentlike object to remove from the datasource, if the id is equal or larger then 1 then remove it.
|
|
GetCommentLikes ( int commentId ) : IEnumerable |
Gets a colllection of commentlike objects that are associated with a given commentid.
|
|
GetComments ( int levelMaterialId ) : IEnumerable |
Gets a lcollection of comment objects associated with this levelmaterial.
|
public CreateComment ( |
||
comment | Instance of comment object. | |
Résultat | void |
public CreateLike ( |
||
commentLike | Instance of commentlike object. | |
Résultat | void |
public DeleteComment ( int commentId ) : void | ||
commentId | int | Id of a given comment in the datasource. |
Résultat | void |
public DeleteLike ( int commentLikeId ) : void | ||
commentLikeId | int | Id of a given commentlike in the datasource. |
Résultat | void |
public GetCommentLikes ( int commentId ) : IEnumerable |
||
commentId | int | Id of the comment associated with the commentlikes. |
Résultat | IEnumerable |
public GetComments ( int levelMaterialId ) : IEnumerable |
||
levelMaterialId | int | The integer value of a levelmaterialid to find. |
Résultat | IEnumerable |