C# Class Blog.Logic.Core.TagsLogic

Inheritance: ITagsLogic
Afficher le fichier Open project: jsnmgpnty/Blogness2.0

Méthodes publiques

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

Method Details

Add() public méthode

public Add ( Tag tag ) : Tag
tag Blog.Common.Contracts.Tag
Résultat Blog.Common.Contracts.Tag

GetByPostId() public méthode

public GetByPostId ( int postId ) : List
postId int
Résultat List

GetTagsByName() public méthode

public GetTagsByName ( string tagName ) : List
tagName string
Résultat List

TagsLogic() public méthode

public TagsLogic ( ITagRepository tagRepository, IPostRepository postRepository ) : System
tagRepository ITagRepository
postRepository IPostRepository
Résultat System