public void DeleteOfficeAssignment(int OfficeAssignmentID)
        {
            OfficeAssignment OfficeAssignment = context.OfficeAssignments.Find(OfficeAssignmentID);

            context.OfficeAssignments.Remove(OfficeAssignment);
        }
 public void UpdateOfficeAssignment(OfficeAssignment OfficeAssignment)
 {
     context.Entry(OfficeAssignment).State = EntityState.Modified;
 }
 public void InsertOfficeAssignment(OfficeAssignment OfficeAssignment)
 {
     context.OfficeAssignments.Add(OfficeAssignment);
 }