C# Class Blog.Logic.Core.PostContentsLogic

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

Méthodes publiques

Méthode Description
Add ( PostContent postContent ) : PostContent
Delete ( int postContentId ) : bool
Get ( int postContentId ) : PostContent
GetByPostId ( int postId ) : List
PostContentsLogic ( IPostContentRepository postContentRepository ) : System

Method Details

Add() public méthode

public Add ( PostContent postContent ) : PostContent
postContent Blog.Common.Contracts.PostContent
Résultat Blog.Common.Contracts.PostContent

Delete() public méthode

public Delete ( int postContentId ) : bool
postContentId int
Résultat bool

Get() public méthode

public Get ( int postContentId ) : PostContent
postContentId int
Résultat Blog.Common.Contracts.PostContent

GetByPostId() public méthode

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

PostContentsLogic() public méthode

public PostContentsLogic ( IPostContentRepository postContentRepository ) : System
postContentRepository IPostContentRepository
Résultat System