public void Add(Gamer gamer)
 {
     if (_userValidationService.Validate(gamer) == true)
     {
         Console.WriteLine("Kayit Oldu");
     }
     else
     {
         Console.WriteLine("Kayit Basarisiz. Kimlik Dogrulanamadi");
     }
 }
Example #2
0
 //MicroService
 public void Add(Gamer gamer)
 {
     if (_userValidationService.Validate(gamer) == true)
     {
         Console.WriteLine("Gamer is added");
     }
     else
     {
         Console.WriteLine("GAmer is not added");
     }
 }
Example #3
0
 public void Add(Gamer gamer)
 {
     if (_userValidationService.Validate(gamer))
     {
         Console.WriteLine("Kişi doğrulandı. '{0}' eklendi", gamer.FirstName);
     }
     else
     {
         Console.WriteLine("Kişi doğrulanamadı. '{0}' eklenemedi", gamer.FirstName);
     }
 }
Example #4
0
 public void Add(Gamer gamer)
 {
     if (_userValidationService.Validate(gamer) == true)
     {
         Console.WriteLine("Kayıt oldu");
     }
     else
     {
         Console.WriteLine("Doğrulama başarısız. Kayıt Başarısız.");
     }
 }
 public void Add(Gamer gamer)
 {
     if (_userValidationService.Validate(gamer))
     {
         Console.WriteLine("{0} {1} is registered!", gamer.FirstName, gamer.LastName);
     }
     else
     {
         Console.WriteLine("Verification failed!");
     }
 }
Example #6
0
 public void Add(Gamer gamer)
 {
     if (_userValidationService.Validate(gamer) == true)
     {
         Console.WriteLine("Hesabınız doğrulandı.Hoşgeldiniz, " + gamer.FirstName + " " + gamer.LastName);
     }
     else
     {
         Console.WriteLine(gamer.FirstName + " " + gamer.LastName + ", e-Devlet hesabınız doğrulanmadı!");
     }
 }
Example #7
0
 public void Add(Gamer gamer)
 {
     if (userValidationService.Validate(gamer))
     {
         Console.WriteLine(gamer.FirstName + " Adlı Oyuncu Kayıt Oldu");
     }
     else
     {
         Console.WriteLine("Doğrulama Başarısız , Kayıt Olunamadı");
     }
 }
Example #8
0
 public void Add(Gamer gamer)
 {
     if (_userValidationService.Validate(gamer))
     {
         Console.WriteLine("Sayın " + gamer.FirstName + ", başarıyla kayıt oldunuz");
     }
     else
     {
         Console.WriteLine("Yanlış bilgi girildi ! Lütfen bilgilerinizi kontrol ediniz.");
     }
 }
Example #9
0
 public void Add(User user)
 {
     if (_userValidationService.Validate(user))
     {
         Console.WriteLine("kayıt oldu");
     }
     else
     {
         Console.WriteLine("Kişi doğru değil");
     }
 }
Example #10
0
 public void Add(IUser user)
 {
     if (_userValidationService.Validate(user))
     {
         Console.WriteLine("Kayıt olundu..");
     }
     else
     {
         Console.WriteLine("Doğrulama başarısız..Kayıt işlemi gerçekleştirilemedi..");
     }
 }
 public void Add(Gamer gamer)
 {
     if (_userValidationService.Validate(gamer) == true)
     {
         Console.WriteLine(gamer.FirstName + " " + gamer.LastName + " Added");
     }
     else
     {
         throw new Exception("Not a Valid");
     }
 }
Example #12
0
 public void Add(Gamer gamer)
 {
     if (_userValidationService.Validate(gamer) == true)
     {
         Console.WriteLine("kayıt oldu");
     }
     else
     {
         Console.WriteLine("doğrulama ve kayıt başarısız");
     }
 }
Example #13
0
 public void Add(Customer customer)
 {
     if (_userValidationService.Validate(customer) == true)
     {
         Console.WriteLine("Doğrulama Başarılı");
     }
     else
     {
         Console.WriteLine("Doğrulama Başarısız");
     }
 }
Example #14
0
 public void Add(Gamer gamer)
 {
     if (_userValidationService.Validate(gamer) == true)
     {
         Console.WriteLine("Signed Up");
     }
     else
     {
         Console.WriteLine("Verification is unseccessful");
     }
 }
Example #15
0
 public void Add(Gamer gamer)
 {
     if (_userValidationService.Validate(gamer))
     {
         Console.WriteLine("Kayıt Yapıldı");
     }
     else
     {
         Console.WriteLine("Doğrulama Ve Kayıt Başarısız");
     }
 }
Example #16
0
 public void Add(Player player)
 {
     if (_userValidationService.Validate(player) == true)
     {
         Console.WriteLine("Added");
     }
     else
     {
         Console.WriteLine("Verification failed");
     }
 }
Example #17
0
 public void SignUp(Player player)
 {
     if (_userValidationService.Validate(player) == true)
     {
         Console.WriteLine(player.FirstName + " " + player.LastName + " isimli kullanıcı kaydedildi!");
         Console.WriteLine("Hoşgeldiniz " + player.FirstName + " " + player.LastName);
     }
     else
     {
         Console.WriteLine("Doğrulama başarısız. Lütfen bilgilerinizi kontrol edin.");
     }
 }
Example #18
0
 public void Registration(Gamer gamer)
 {
     if (_userValidationService.Validate(gamer) == true)
     {
         Console.WriteLine("Kayıt olundu.");
     }
     else
     {
         Console.WriteLine("Doğrulama başarısız.");
     }
     //Kullanıcı kayıt olurken doğrulama yapılmalı. Yukarıdaki constructer yapısından sonra bu yapılır
 }
        public void Add(Player player)
        {
            if (_userValidationService.Validate(player) == true)
            {
                Console.WriteLine("Kayıt Oldu");
            }

            else
            {
                Console.WriteLine("Doğrulama başarısız. Kayıt başarısız");
            }
        }
 public void Add(Gamer gamer)
 {
     if (_userValidationService.Validate(gamer))
     {
         _gamerDal.Add(gamer);
         Console.WriteLine("User is added");
     }
     else
     {
         Console.WriteLine("Validation is unsuccessful, register is failed");
     }
 }
Example #21
0
 public void add(Gamer gamer)
 {
     //throw new NotImplementedException();
     if (_userValidationService.Validate(gamer))
     {
         Console.WriteLine("Kayıt Oldu");
     }
     else
     {
         Console.WriteLine("DOGRULAAM BASARISIZ!!!");
     }
 }
Example #22
0
 public void Add(Gamer gamer)
 {
     if (_userValidationService.Validate(gamer))
     {
         gamers.Add(gamer);
         Console.WriteLine("Kayıt oldu");
     }
     else
     {
         Console.WriteLine("Doğrulama başarısız. Kayıt başarısız");
     }
 }
Example #23
0
 public void Add(Gamer gamer)
 {
     if (userValidationService.Validate(gamer))
     {
         gameDb.Gamers.Add(gamer);
         Console.WriteLine($"{gamer.UserName} isimli kullanıcı sisteme başarıyla eklendi");
     }
     else
     {
         Console.WriteLine("Doğrulama başarısız.Kayıt başarısız.");
     }
 }
Example #24
0
 public void Add(Gamer gamer)
 {
     if (_userValidationService.Validate(gamer) == true)
     {
         Console.WriteLine("Kayıt Oldu");
     }
     else
     {
         Console.WriteLine("Başarısız");
     }
     Console.WriteLine("Kayıt oldu");
 }
Example #25
0
        public void create(Player player)
        {
            if (_userValidationService.Validate(player))
            {

                Console.WriteLine("kayıt oluşturuldu "+player.FirstName);
            }
            else
            {
                Console.WriteLine("doğrulama başarısız kayıt oluşturulamadı ");
            }
        }
Example #26
0
 public bool Add(Gamer gamer)
 {
     if (_userValidationService.Validate(gamer) == true)
     {
         Console.WriteLine("Kayıt Doğrulamıştır!!");
         return(true);
     }
     else
     {
         Console.WriteLine("Geçersiz Kayıt!");
         return(false);
     }
 }
Example #27
0
 public IResult Add(Car car)
 {
     if (_userValidation.Validate(car))
     {
         _carDal.Add(car);
         return(new SuccessResult(Messages.CarAdded));
     }
     else
     {
         Console.WriteLine(Messages.CarNameInvalid);
         return(new ErrorResult("Ürün Eklenemedi"));
     }
 }
Example #28
0
        public void Save(User user)
        {
            if (_userValidationService.Validate(user))
            {
                Console.WriteLine(user.FirstName + " " + user.LastName + " isimli kullanıcı sisteme başarıyla kaydedildi.");
            }

            else
            {
                Console.WriteLine(user.FirstName + " " + user.LastName + " KİŞİ BİLGİLERİ YANLIŞ!\nLÜTFEN BİLGİLERİNİZİ KONTROL EDİNİZ.\nSİSTEMDEN ÇIKIŞ YAPILIYOR...");
                Environment.Exit(3);
            }
        }
Example #29
0
 public bool Add(IUser gamer)
 {
     if (_userValidationService.Validate(gamer) == true)
     {
         Console.WriteLine("Oyuncu eklendi");
         return(result = true);
     }
     else
     {
         Console.WriteLine("Doğrulama başarısız");
         return(result = false);
     }
 }
Example #30
0
 public void Add(Gamer gamer)
 {
     try
     {
         if (_userValidationService.Validate(gamer) == true)
         {
             Console.WriteLine("Gamer Added");
         }
     }
     catch (Exception)
     {
         Console.WriteLine("There is a problem. Not added.");
     }
 }