C# 클래스 BlogSharp.Core.Impl.Services.Post.PostService

상속: IPostService
파일 보기 프로젝트 열기: BlogSharp/Blogsharp

공개 메소드들

메소드 설명
AddComment ( Feedback comment ) : void
AddPost ( Model post ) : void
GetPostByFriendlyTitle ( Blog blog, string friendlyTitle ) : Post
GetPostById ( Blog blog, int id ) : Post
GetPostsByBlog ( Blog blog ) : IList
GetPostsByBlogPaged ( Blog blog, int skip, int take ) : IList
GetPostsByTagPaged ( Blog blog, string friendlyTagName, int skip, int take ) : IList
PostService ( IPostRepository postRepository ) : System.Collections.Generic
RemoveComment ( Feedback comment ) : void
RemovePost ( Model post ) : void

메소드 상세

AddComment() 공개 메소드

public AddComment ( Feedback comment ) : void
comment Feedback
리턴 void

AddPost() 공개 메소드

public AddPost ( Model post ) : void
post Model
리턴 void

GetPostByFriendlyTitle() 공개 메소드

public GetPostByFriendlyTitle ( Blog blog, string friendlyTitle ) : Post
blog Model.Blog
friendlyTitle string
리턴 Model.Post

GetPostById() 공개 메소드

public GetPostById ( Blog blog, int id ) : Post
blog Model.Blog
id int
리턴 Model.Post

GetPostsByBlog() 공개 메소드

public GetPostsByBlog ( Blog blog ) : IList
blog Model.Blog
리턴 IList

GetPostsByBlogPaged() 공개 메소드

public GetPostsByBlogPaged ( Blog blog, int skip, int take ) : IList
blog Model.Blog
skip int
take int
리턴 IList

GetPostsByTagPaged() 공개 메소드

public GetPostsByTagPaged ( Blog blog, string friendlyTagName, int skip, int take ) : IList
blog Model.Blog
friendlyTagName string
skip int
take int
리턴 IList

PostService() 공개 메소드

public PostService ( IPostRepository postRepository ) : System.Collections.Generic
postRepository IPostRepository
리턴 System.Collections.Generic

RemoveComment() 공개 메소드

public RemoveComment ( Feedback comment ) : void
comment Feedback
리턴 void

RemovePost() 공개 메소드

public RemovePost ( Model post ) : void
post Model
리턴 void