C#C
C#4y ago
bookuha

DTOs inside of DTOs

Is it normal to have
class GuyDTO{
string Name {get;set}
int Age {get;set;}
BikeDTO Bike {get;set;}
}

Like, I should have BikeDTO always, not the Bike entity itself, right?
Was this page helpful?