if we use the remove function in main and subservice then first it will execute the subservice remove function and then execute the main service remove function.its in a reverse order fisrt subservice and then main service.
if we use the remove function in main and subservice then first it will execute the subservice remove function and then execute the main service remove function.its in a reverse order fisrt subservice and then main service.