Пример #1
0
 public Contact FirstDefinedMethod(Contact entity)
 {
     entity.Id = 8;
     entity.FirstName = "Joe";
     entity.LastName = "Bloggs";
     return entity;
 }
Пример #2
0
 public Contact InvalidProperties(Contact entity)
 {
     entity.Id = 99;
     entity.FirstName = "Joe";
     entity.LastName = "Bloggs";
     return entity;
 }