public DogResponse(Dog model) { CopyProperties(model, this, new List <string>() { "Breed", "Owner" }); Breed = new BreedSummaryResponse(model.Breed); Owner = new OwnerSummaryResponse(model.Owner); }
public BreedSummaryResponse(BreedSummaryResponse other) { CopyProperties(other, this); }