If there exists a one-to-many relation between two tables than the table with one side should have an api to get all the table2 data by table1Id.
If there exists a one-to-many relation between two tables than the table with one side should have an api to get all the table2 data by table1Id.