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?
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?