public MysqlChangePasswordModelExtended( IApplicationConfigurator applicationConfigurator, MySqlConnection connection, IMySqlPasswordRepository mySqlPasswordRepository) : base(connection, mySqlPasswordRepository) { this.applicationConfigurator = applicationConfigurator ?? throw new ArgumentNullException(nameof(applicationConfigurator)); }
public MySqlChangePasswordModel(MySqlConnection connection, IMySqlPasswordRepository mySqlPasswordRepository) { this.connection = connection ?? throw new ArgumentNullException(nameof(connection)); this.mySqlPasswordRepository = mySqlPasswordRepository ?? throw new ArgumentNullException(nameof(mySqlPasswordRepository)); }