Created
May 2, 2018 04:38
-
-
Save fatosmorina/89464c7247150d2c0524296e6e471246 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public Person GetPersonById(integer personId) { | |
var person = DBInstance.People.Find(personId); | |
if (person == null) | |
return Person.NullPerson; | |
return person; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment