Пример #1
0
 public MysqlChangePasswordModelExtended(
     IApplicationConfigurator applicationConfigurator,
     MySqlConnection connection,
     IMySqlPasswordRepository mySqlPasswordRepository)
     : base(connection, mySqlPasswordRepository)
 {
     this.applicationConfigurator = applicationConfigurator ?? throw new ArgumentNullException(nameof(applicationConfigurator));
 }
Пример #2
0
 public MySqlChangePasswordModel(MySqlConnection connection, IMySqlPasswordRepository mySqlPasswordRepository)
 {
     this.connection = connection ?? throw new ArgumentNullException(nameof(connection));
     this.mySqlPasswordRepository = mySqlPasswordRepository ?? throw new ArgumentNullException(nameof(mySqlPasswordRepository));
 }