C# Class Blog.Logic.Core.TagsLogic

Inheritance: ITagsLogic
Show file Open project: jsnmgpnty/Blogness2.0

Public Methods

Method Description
Add ( Tag tag ) : Tag
GetByPostId ( int postId ) : List
GetTagsByName ( string tagName ) : List
TagsLogic ( ITagRepository tagRepository, IPostRepository postRepository ) : System

Method Details

Add() public method

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

GetByPostId() public method

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

GetTagsByName() public method

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

TagsLogic() public method

public TagsLogic ( ITagRepository tagRepository, IPostRepository postRepository ) : System
tagRepository ITagRepository
postRepository IPostRepository
return System