public ArticlesService( IDeletableEntityRepository <Article> articleRepository, IDeletableEntityRepository <Category> categoryRepository, IDeletableEntityRepository <Star> starRepository, IRepository <ArticleDeletionRequest> articleDeletionRequestRepository, IDeletableEntityRepository <Edit> editRepository, IDiffMatchPatchService diffMatchPatchService) { this.articleRepository = articleRepository; this.categoryRepository = categoryRepository; this.starRepository = starRepository; this.articleDeletionRequestRepository = articleDeletionRequestRepository; this.editRepository = editRepository; this.diffMatchPatchService = diffMatchPatchService; }
public EditsService( IDeletableEntityRepository <Edit> editRepository, IDeletableEntityRepository <Category> categoryRepository, IDeletableEntityRepository <Article> articleRepository, IDiffMatchPatchService diffMatchPatchService, IFollowsService followsService, IStarsService starsService) { this.editRepository = editRepository; this.categoryRepository = categoryRepository; this.articleRepository = articleRepository; this.diffMatchPatchService = diffMatchPatchService; this.followsService = followsService; this.starsService = starsService; }