C# 클래스 InsanelySimpleBlog.Services.Implementation.PostsService

상속: IPostsService
파일 보기 프로젝트 열기: JamesRandall/Insanely-Simple-Blog 1 사용 예제들

공개 메소드들

메소드 설명
Get ( int postId ) : PostViewModel
PostsService ( ) : System
PostsService ( IUnitOfWorkFactory unitOfWorkFactory, PostViewModel>.IMapper postMapper ) : System
RecentPosts ( int pageNumber, int pageSize, int categoryId, System.DateTime startDate, System.DateTime endDate ) : IEnumerable

메소드 상세

Get() 공개 메소드

public Get ( int postId ) : PostViewModel
postId int
리턴 InsanelySimpleBlog.ViewModel.PostViewModel

PostsService() 공개 메소드

public PostsService ( ) : System
리턴 System

PostsService() 공개 메소드

public PostsService ( IUnitOfWorkFactory unitOfWorkFactory, PostViewModel>.IMapper postMapper ) : System
unitOfWorkFactory IUnitOfWorkFactory
postMapper PostViewModel>.IMapper
리턴 System

RecentPosts() 공개 메소드

public RecentPosts ( int pageNumber, int pageSize, int categoryId, System.DateTime startDate, System.DateTime endDate ) : IEnumerable
pageNumber int
pageSize int
categoryId int
startDate System.DateTime
endDate System.DateTime
리턴 IEnumerable