private void EditRelationshipType(RelationshipType relationshipType)
 {
     _relationshipTypesRepository.EditRelationshipType(relationshipType);
 }
 public void EditRelationshipType(RelationshipType relationshipType)
 {
     _databaseModel.Entry(relationshipType).State = EntityState.Modified;
     _databaseModel.SaveChanges();
 }
 private void AddRelationshipType(RelationshipType relationshipType)
 {
     _relationshipTypesRepository.AddRelationshipType(relationshipType);
 }
 public void AddRelationshipType(RelationshipType relationshipType)
 {
     _databaseModel.RelationshipTypes.Add(relationshipType);
     _databaseModel.SaveChanges();
 }