public function delete($id) { $sqlQuery = "DELETE FROM servicerequest WHERE service_no=" . $id; $dbContext = new DBContext(); if ($dbContext->query($sqlQuery)) { return true; } else { return false; } }
public function delete($id) { $sqlQuery = "DELETE FROM client WHERE client_id=" . $id; $dbContext = new DBContext(); if ($dbContext->query($sqlQuery)) { return true; } else { return false; } }