Closed opujade closed 1 day ago
If a route is deleted and sector has no routes, sector should be deleted. There shouldn't be sectors without routes.
Doing this we won't have to do a delete option for locations, schools and sectors.
IF SECTORS[SECTORINDEX].ROUTES.LENGTH === 0 DELETE SECTOR[SECTORINDEX]
If a route is deleted and sector has no routes, sector should be deleted. There shouldn't be sectors without routes.
Doing this we won't have to do a delete option for locations, schools and sectors.