C# Class Blog.Services.Helpers.Wcf.CommentsResource

Inheritance: ICommentsResource
Afficher le fichier Open project: jsnmgpnty/Blogness2.0

Méthodes publiques

Méthode Description
Add ( Comment comment ) : Comment
Delete ( int id ) : bool
Get ( int commentId ) : Comment
GetByPostId ( int id ) : List
GetByUser ( int id ) : List
GetHeartBeat ( ) : bool
GetReplies ( int id ) : List
SearchComments ( string query, int threshold = 5, int skip = 10 ) : List

Method Details

Add() public méthode

public Add ( Comment comment ) : Comment
comment Blog.Common.Contracts.Comment
Résultat Blog.Common.Contracts.Comment

Delete() public méthode

public Delete ( int id ) : bool
id int
Résultat bool

Get() public méthode

public Get ( int commentId ) : Comment
commentId int
Résultat Blog.Common.Contracts.Comment

GetByPostId() public méthode

public GetByPostId ( int id ) : List
id int
Résultat List

GetByUser() public méthode

public GetByUser ( int id ) : List
id int
Résultat List

GetHeartBeat() public méthode

public GetHeartBeat ( ) : bool
Résultat bool

GetReplies() public méthode

public GetReplies ( int id ) : List
id int
Résultat List

SearchComments() public méthode

public SearchComments ( string query, int threshold = 5, int skip = 10 ) : List
query string
threshold int
skip int
Résultat List