what i usually does for saving to 2 tables that has a relationship is save using their repository, which is for me is like a double task, like this
tableARepo