diff --git a/SolarPower/Repository/Implement/PowerStationRepository.cs b/SolarPower/Repository/Implement/PowerStationRepository.cs index cb6f3f1..370df5e 100644 --- a/SolarPower/Repository/Implement/PowerStationRepository.cs +++ b/SolarPower/Repository/Implement/PowerStationRepository.cs @@ -773,7 +773,7 @@ namespace SolarPower.Repository.Implement conn.Open(); try { - string sql = GenerateUpdateQueryWithCustomDBNameAndTable(properties,db_name,"power_station_exception"); + string sql = GenerateInsertQueryWithCustomDBNameAndTable(properties,db_name,"power_station_exception"); await conn.ExecuteAsync(sql, Exception);