Ejemplo n.º 1
0
 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.");
     }
 }
Ejemplo n.º 2
0
 public override void Add(Gamer gamer)
 {
     if (_gamerValidation.Validate(gamer))
     {
         base.Add(gamer);
     }
     else
     {
         throw new Exception("Identity Number cannot validation.");
     }
 }