C# 클래스 Blog.Logic.Core.PostContentsLogic

상속: IPostContentsLogic
파일 보기 프로젝트 열기: jsnmgpnty/Blogness2.0

공개 메소드들

메소드 설명
Add ( PostContent postContent ) : PostContent
Delete ( int postContentId ) : bool
Get ( int postContentId ) : PostContent
GetByPostId ( int postId ) : List
PostContentsLogic ( IPostContentRepository postContentRepository ) : System

메소드 상세

Add() 공개 메소드

public Add ( PostContent postContent ) : PostContent
postContent Blog.Common.Contracts.PostContent
리턴 Blog.Common.Contracts.PostContent

Delete() 공개 메소드

public Delete ( int postContentId ) : bool
postContentId int
리턴 bool

Get() 공개 메소드

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

GetByPostId() 공개 메소드

public GetByPostId ( int postId ) : List
postId int
리턴 List

PostContentsLogic() 공개 메소드

public PostContentsLogic ( IPostContentRepository postContentRepository ) : System
postContentRepository IPostContentRepository
리턴 System