public void Add(Gamer gamer) { if (_gamerValidation.Validate(gamer) == true) { Console.WriteLine("Your registration has been successfully completed"); } else { Console.WriteLine("Sorry, Your registration could not be processed. Please check your information and try again."); } }
public override void Add(Gamer gamer) { if (_gamerValidation.Validate(gamer)) { base.Add(gamer); } else { throw new Exception("Identity Number cannot validation."); } }