refactoring: ExecuteNonQuery method with action before run introduced.