public void AddPerson(Person person)
 {
     using (var context = new DPADataContext())
     {
         context.Persons.InsertOnSubmit(person);
         context.SubmitChanges();
     }
 }
 public void AddDepartment(Department department)
 {
     using (var context = new DPADataContext())
     {
         context.Departments.InsertOnSubmit(department);
         context.SubmitChanges();
     }
 }