This commit is contained in:
2025-07-14 20:56:21 -07:00
parent 34ce91d886
commit 26d8366f2f
2 changed files with 7 additions and 10 deletions
@@ -218,7 +218,7 @@ namespace BoredCareers.Services.DatabaseService {
}
public async Task DeleteResume( int ID ) {
public async Task DeleteResume( int ResumeID ) {
using( MySqlConnection connection = GetConnection() ) {
MySqlCommand cmd;
connection.Open();
@@ -227,7 +227,7 @@ namespace BoredCareers.Services.DatabaseService {
DELETE FROM Resume WHERE ID = @ID;
";
cmd = new MySqlCommand( command, connection );
cmd.Parameters.AddWithValue("@ID", ID);
cmd.Parameters.AddWithValue("@ID", ResumeID);
await cmd.ExecuteNonQueryAsync();
}