public NewsController(INewsStorage newsStorage, NewsBuilder newsBuilder, CommentBuilder commentBuilder, ICommentStorage commentStorage) { _newsStorage = newsStorage; _newsBuilder = newsBuilder; _commentBuilder = commentBuilder; _commentStorage = commentStorage; }
public WebApiController(ITypeInfoStorage typeInfoStorage, IArticleStorage articleStorage, ICaseInfoStorage caseInfoStorage, ICommentStorage commentStorage , IBannerStorage bannerStorage, IIntentionStorage intentionStorage) { m_TypeInfoStorage = typeInfoStorage; m_ArticleStorage = articleStorage; m_CaseInfoStorage = caseInfoStorage; m_CommentStorage = commentStorage; m_BannerStorage = bannerStorage; m_IntentionStorage = intentionStorage; }
public CommentLogic(ICommentStorage commentStorage) { _commentStorage = commentStorage; }
public PublicationService(IDataContext dataContext) { articleStorage = dataContext.ArticleStorage; disciplineStorage = dataContext.DisciplineStorage; commentStorage = dataContext.CommentStorage; }
public CommentBuilder(ICommentRepository commentRepository, ICommentStorage commentStorage) { _commentRepository = commentRepository; _commentStorage = commentStorage; }