/// <summary> /// This function get executed when the submit button is clicked and passes the DTO object to the Bussiness Layer /// </summary> private void submit_button_Click(object sender, EventArgs e) { EmployeeBAL employeebalobj = new EmployeeBAL(); employeebalobj.addusingDAL(add_to_DTOobj()); MessageBox.Show("Added successfully"); clearentries(); }