I wanted to know if there is any simple way to convert a vector of objects A to a vector of objects of type B, which follow the second structure:
Object A
{
aId: number;
aNome: string;
aDesc: string;
}
Object B
{
bId: number;
bNome: string;
}
I'm going to get a vector of A and I want to pass a vector of B, is there any simple method to do this?