The addTrainer method found in add-trainer.component.ts currently uses an alert() call to prompt the user that a trainer was successfully added. This is not a good idea since alert() blocks threads. Prompt the user with something other than an alert().
Remove alert() call after addTrainer call
Description
The addTrainer method found in add-trainer.component.ts currently uses an alert() call to prompt the user that a trainer was successfully added. This is not a good idea since alert() blocks threads. Prompt the user with something other than an alert().