private void UnmarkJoints(Portion portion) { foreach(var j in portion.Joints) { j.ToExport = false; exportRepo.JointRepo.SaveOrUpdate(j); } }