Méthode | Description | |
---|---|---|
AddPost ( |
||
DeletePost ( int id ) : void | ||
GetComment ( int id ) : |
||
GetComments ( int postId ) : IEnumerable |
||
GetPost ( int id ) : |
||
GetPosts ( ) : IEnumerable |
||
UpdatePost ( int id, |
public AddPost ( |
||
newPost | ||
Résultat | void |
public GetComment ( int id ) : |
||
id | int | |
Résultat |
public GetComments ( int postId ) : IEnumerable |
||
postId | int | |
Résultat | IEnumerable |
public UpdatePost ( int id, |
||
id | int | |
updatedPost | ||
Résultat | void |