C# Class Blog.Services.Helpers.Rest.TagsRestResource

Inheritance: ITagsRestResource
Datei anzeigen Open project: jsnmgpnty/Blogness2.0

Public Methods

Method Description
Add ( Tag tag, string authenticationToken ) : Tag
GetByName ( string tagName ) : List
GetByPostId ( int postId ) : List

Method Details

Add() public method

public Add ( Tag tag, string authenticationToken ) : Tag
tag Blog.Common.Contracts.Tag
authenticationToken string
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