C# Class Blog.Services.Implementation.TagsService

Inheritance: BaseService, ITagsService
Show file Open project: jsnmgpnty/Blogness2.0

Public Methods

Method Description
Add ( Tag tag ) : Tag
GetByName ( string tagName ) : List
GetByPostId ( int postId ) : List
TagsService ( ITagsLogic tagsLogic ) : System.Collections.Generic

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

TagsService() public method

public TagsService ( ITagsLogic tagsLogic ) : System.Collections.Generic
tagsLogic ITagsLogic
return System.Collections.Generic