Example #1
0
 public PersonDTO MapPerson(tPerson person)
 {
     return(new PersonDTO {
         ID = person.ID,
         Name = person.Name
     });
 }
 public PersonDTO(tPerson person)
 {
     ID   = person.ID;
     Name = person.Name;
 }