private void FormDepartment_OnClose(object sender, EventArgs e)
 {
     empRepo.Save();
     empRepo.Dispose();
 }