Inclusion Criteria:  Patients undergoing inguinal hernia repair. Unilateral inguinal hernia. Patients with ASA II-III preoperative anesthesia score.  Exclusion Criteria:  Patients with liver disease, allergy to anesthetic agents local infection, recurrence, strangulated hernia, patients with a history of allergy to local anesthetics, patients with a history of anesthesia up to two weeks ago