// GET: /Admin/ProductType/ public ArticleController(IArticleRepository _articleRepository, IArticleGroupRepository _articleGroupRepository, IArticleTypeRepository _articleTypeRepository, IArticleGroupMapRepository _articleGroupMapRepository) { this.baseRepository = _articleRepository; this.articleRepository = _articleRepository; this.articleGroupRepository = _articleGroupRepository; this.articleTypeRepository = _articleTypeRepository; this.articleGroupMapRepository = _articleGroupMapRepository; }
// GET: /Admin/ProductType/ public AutoArticleController(ITypeArticleAutoRepository _typeArticleAutoRepository, IAutoArticleRepository autoArticleRepository, IArticleRepository articleRepository, IPictureRepository pictureRepository, IArticleGroupRepository _articleGroupRepository, IArticleTypeRepository _articleTypeRepository, IArticleGroupMapRepository _articleGroupMapRepository) { this.typeArticleAutoRepository = _typeArticleAutoRepository; this.baseRepository = autoArticleRepository; this.pictureRepository = pictureRepository; this.autoArticleRepository = autoArticleRepository; this.articleRepository = articleRepository; this.articleGroupRepository = _articleGroupRepository; this.articleTypeRepository = _articleTypeRepository; this.articleGroupMapRepository = _articleGroupMapRepository; }
// GET: /Admin/ProductType/ public ArticleGroupController(IArticleGroupRepository _articleGroupRepository) { this.baseRepository = _articleGroupRepository; this.articleGroupRepository = _articleGroupRepository; }
// GET: /Admin/ProductType/ public ArticleGroupController(IArticleGroupRepository _articleGroupRepository) { this.baseRepository = _articleGroupRepository; this.articleGroupRepository = _articleGroupRepository; }
public ArticleGroupService(IArticleGroupRepository articleGroupRepository) { this.articleGroupRepository = articleGroupRepository; }