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

Inheritance: ITagsResource
显示文件 Open project: jsnmgpnty/Blogness2.0

Public Methods

Method Description
Add ( Tag tag ) : Tag
GetByName ( string tagName ) : List
GetByPostId ( int postId ) : List
GetHeartBeat ( ) : bool

Method Details

Add() public method

public Add ( Tag tag ) : Tag
tag Blog.Common.Contracts.Tag
return Blog.Common.Contracts.Tag

GetByName() public method

public GetByName ( string tagName ) : List
tagName string
return List

GetByPostId() public method

public GetByPostId ( int postId ) : List
postId int
return List

GetHeartBeat() public method

public GetHeartBeat ( ) : bool
return bool