C# Class InsanelySimpleBlog.Services.Implementation.PostsService

Inheritance: IPostsService
Show file Open project: JamesRandall/Insanely-Simple-Blog Class Usage Examples

Public Methods

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

Method Details

Get() public method

public Get ( int postId ) : PostViewModel
postId int
return InsanelySimpleBlog.ViewModel.PostViewModel

PostsService() public method

public PostsService ( ) : System
return System

PostsService() public method

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

RecentPosts() public method

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
return IEnumerable