C# Class Blog.Services.Implementation.PostContentsService

Inheritance: BaseService, IPostContentsService
Mostra file Open project: jsnmgpnty/Blogness2.0

Public Methods

Method 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 method

public Add ( PostContent postImage ) : PostContent
postImage Blog.Common.Contracts.PostContent
return Blog.Common.Contracts.PostContent

Delete() public method

public Delete ( int postContentId ) : bool
postContentId int
return bool

Get() public method

public Get ( int postContentId ) : PostContent
postContentId int
return Blog.Common.Contracts.PostContent

GetByPostId() public method

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

PostContentsService() public method

public PostContentsService ( IPostContentsLogic postsContentsLogic ) : System.Collections.Generic
postsContentsLogic IPostContentsLogic
return System.Collections.Generic