public void UpdateResponsibility(Responsibility seatResponsibility)
 {
     DispositionDataContext dispositionDb = new DispositionDataContext();
     var updateResponsibility = (from s in dispositionDb.Responsibilities
                                 where s.ResponsibilityID == seatResponsibility.ResponsibilityID
                                 select s).Single();
     updateResponsibility.Code = seatResponsibility.Code;
     updateResponsibility.Description = seatResponsibility.Description;
     updateResponsibility.Obsolete = seatResponsibility.Obsolete;
     dispositionDb.SubmitChanges();
 }
 public void CreateResponsibility(Responsibility responsibility)
 {
     DispositionDataContext dispositionDb = new DispositionDataContext();
     dispositionDb.Responsibilities.InsertOnSubmit(responsibility);
     dispositionDb.SubmitChanges();
 }
 partial void UpdateResponsibility(Responsibility instance);
 partial void DeleteResponsibility(Responsibility instance);
 partial void InsertResponsibility(Responsibility instance);