public ReleaseSubjectService( StatisticsDbContext statisticsDbContext, IFootnoteRepository footnoteRepository, SubjectDeleter subjectDeleter) { _statisticsDbContext = statisticsDbContext; _footnoteRepository = footnoteRepository; _subjectDeleter = subjectDeleter; }
public ReleaseSubjectRepository( StatisticsDbContext statisticsDbContext, IFootnoteRepository footnoteRepository, SubjectDeleter?subjectDeleter = null) { _statisticsDbContext = statisticsDbContext; _footnoteRepository = footnoteRepository; _subjectDeleter = subjectDeleter ?? new SubjectDeleter(); }