public void RemoveDependent(Dependent removeEntity) { DependentRepository dependentRepository = new DependentRepository(context); dependentRepository.Remove(removeEntity); }
public void AddDependent(Dependent addEntity) { DependentRepository dependentRepository = new DependentRepository(context); dependentRepository.Add(addEntity); }