コード例 #1
0
 public void Add(User user)
 {
     if (_userValidationService.ValiDate(user) == true)
     {
         Console.WriteLine("User " + user.FirstName + " " + user.LastName + " has been registered the system.");
     }
     else
     {
         Console.WriteLine(user.FirstName + " is not a valid user. Please check ur T.C. or another info.");
     }
 }