public void Init() { _processor = base.Get <ICommandProcessor>(); _articleMessageQueryService = base.Get <IArticleMessageQueryService>(); _articleMessageDbProxyRepository = base.Get <IDbProxyRepository <ArticleMessage> >(); _articleDbProxyRepository = base.Get <IArticleQueryService>(); }
public BlogController( IArticleTypeQueryService articleTypeQueryService, IArticleQueryService articleQueryService, IArticleTagQueryService articleTagQueryService, ICommandProcessor processor, IUserTourLogQueryService userTourLogQueryService, IArticleMessageQueryService articleMessageQueryService, ILinkQueryService linkQueryService, IProjectTypeQueryService projectTypeQueryService, IProjectQueryService projectQueryService, ILinkTypeQueryService linkTypeQueryService) { _articleTypeQueryService = articleTypeQueryService; _articleQueryService = articleQueryService; _articleTagQueryService = articleTagQueryService; _processor = processor; _userTourLogQueryService = userTourLogQueryService; _articleMessageQueryService = articleMessageQueryService; _linkQueryService = linkQueryService; _projectTypeQueryService = projectTypeQueryService; _projectQueryService = projectQueryService; _linkTypeQueryService = linkTypeQueryService; }
public void Init() { _articleMessageRepository = base.Get <IArticleMessageRepository>(); _articleMessageQueryService = base.Get <IArticleMessageQueryService>(); }