C# Класс Blog.Services.Helpers.Wcf.CommentsResource

Наследование: ICommentsResource
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

Add() публичный метод

public Add ( Comment comment ) : Comment
comment Blog.Common.Contracts.Comment
Результат Blog.Common.Contracts.Comment

Delete() публичный метод

public Delete ( int id ) : bool
id int
Результат bool

Get() публичный метод

public Get ( int commentId ) : Comment
commentId int
Результат Blog.Common.Contracts.Comment

GetByPostId() публичный метод

public GetByPostId ( int id ) : List
id int
Результат List

GetByUser() публичный метод

public GetByUser ( int id ) : List
id int
Результат List

GetHeartBeat() публичный метод

public GetHeartBeat ( ) : bool
Результат bool

GetReplies() публичный метод

public GetReplies ( int id ) : List
id int
Результат List

SearchComments() публичный метод

public SearchComments ( string query, int threshold = 5, int skip = 10 ) : List
query string
threshold int
skip int
Результат List