/// <summary> ///This function is called when the delete button is clicked on the form and passes the DTO object to the bussiness layer. /// </summary> private void bttn_delete_Click(object sender, EventArgs e) { EmployeeBAL employeebalobj = new EmployeeBAL(); employeebalobj.delete(add_to_DTOobj()); MessageBox.Show("deleted sucessfully"); }