C# Class Blog.Services.Implementation.PostContentsService

Inheritance: BaseService, IPostContentsService
Afficher le fichier Open project: jsnmgpnty/Blogness2.0

Méthodes publiques

Méthode Description
Add ( PostContent postImage ) : PostContent
Delete ( int postContentId ) : bool
Get ( int postContentId ) : PostContent
GetByPostId ( int postId ) : List
PostContentsService ( IPostContentsLogic postsContentsLogic ) : System.Collections.Generic

Method Details

Add() public méthode

public Add ( PostContent postImage ) : PostContent
postImage 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

PostContentsService() public méthode

public PostContentsService ( IPostContentsLogic postsContentsLogic ) : System.Collections.Generic
postsContentsLogic IPostContentsLogic
Résultat System.Collections.Generic