public void AddFamilyMember(Family family, Person member, FamilyRelationship relationship) { //If the person is a parent, call AssignFamilyParents of app service because it will set parents in family entity ? //Find and update a relationship between the person and the parents, //first with the father then with the mother //If not exist create new relationship between the person and family parents. if (family != null && member != null) { relationship = new FamilyRelationship { Family = family, Person = member, }; //return relationship; } //throw user friendly exception }
public void AddRelationship(FamilyRelationship relationship) { throw new NotImplementedException(); }