public DraftService( IDraftRepository draftRepository, IContentRepository contentRepository, IDraftRelationshipRepository draftRelationshipRepository) { _draftRepository = draftRepository; _contentRepository = contentRepository; _draftRelationshipRepository = draftRelationshipRepository; }
public NewsController( IDraftRepository draftRepository, IDraftRelationshipRepository draftRelationshipRepository, IDraftSuggestionsRepository draftSuggestionsRepository, IMapper mapper) { _draftRepository = draftRepository; _draftRelationshipRepository = draftRelationshipRepository; _draftSuggestionsRepository = draftSuggestionsRepository; _mapper = mapper; }