Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Nikita Kums
csharp_2018fall_daytime
Commits
c573fa32
Commit
c573fa32
authored
Oct 02, 2018
by
Nikita Kums
Browse files
Update Contact.cs
parent
9ba9d827
Changes
1
Hide whitespace changes
Inline
Side-by-side
Domain/Contact.cs
View file @
c573fa32
...
...
@@ -9,7 +9,11 @@ namespace Domain
ContactValue
=
contactValue
;
Person
=
person
;
ContactType
=
contactType
;
//when creating a new contact then we add the contact to person and
//contactType aswell. so we can get to contact from person and from
//contactType. Otherwise Contact has a person and a contactType
//for the person but if coming from contactType or person side
//then theres nothing.
person
.
Contacts
.
Add
(
this
);
contactType
.
Contacts
.
Add
(
this
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment