public void RemoveVraagFromInspectieFormulier(InspectieformulierVragenlijstCombinatie voc) { using (FestispecContext context = new FestispecContext()) { context.InspectieformulierVragenlijstCombinatie.Remove(voc); context.SaveChanges(); } }
public void AddVraagToInspectieFormulier(InspectieformulierVragenlijstCombinatie voc) { using (FestispecContext context = new FestispecContext()) { context.InspectieformulierVragenlijstCombinatie.Add(voc); context.SaveChanges(); } }