public TermEditor(ISqlTermRepository termRepository, IMapper <TermEditModel, Term> termEditMapper, IDbTransaction dbTransaction, ILogRepository logRepository, IAuthenticationHelper authenticationHelper) { this.termRepository = termRepository; this.termEditMapper = termEditMapper; this.dbTransaction = dbTransaction; this.logRepository = logRepository; this.authenticationHelper = authenticationHelper; }
public TermCreator( ISqlTermRepository termRepository, IDbTransaction dbTransaction, IAuthenticationHelper authenticationHelper, ILogRepository logRepository) { this.termRepository = termRepository; this.dbTransaction = dbTransaction; this.authenticationHelper = authenticationHelper; this.logRepository = logRepository; }