private void SaveOrUpdateRecord(string storedProceName) { DBSQLServer db = new DBSQLServer(AppSetting.ConnectionString()); db.SaveOrUpdateRecord(storedProceName, GetObject()); }