public BogMarkdownConverterStrategy(IBogMarkdownConverter bogMarkdownConverter, IGetLatestArticleEntryStrategy getLatestArticleEntryStrategy, IBlogApiDbContext context, IUploadArticleEntryCoordinator uploadArticleEntryCoordinator) { _bogMarkdownConverter = bogMarkdownConverter; _getLatestArticleEntryStrategy = getLatestArticleEntryStrategy; _context = context; _uploadArticleEntryCoordinator = uploadArticleEntryCoordinator; }
public EntriesController(ICreateAndPersistArticleEntryStrategy persistArticleEntryStrategy, IGetLatestArticleEntryStrategy getLatestArticleEntryStrategy) { _persistArticleEntryStrategy = persistArticleEntryStrategy; _getLatestArticleEntryStrategy = getLatestArticleEntryStrategy; }