Beispiel #1
0
        public IActionResult KayitOl(string kulAdi, string sifre, string email)
        {
            Kullanici kul = _kullaniciService.GetKullaniciKontrol(kulAdi, email);

            if (kul == null)
            {
                kul = new Kullanici();
                kul.KullaniciAdi = kulAdi;
                kul.Sifre        = sifre;
                kul.Eposta       = email;
                _kullaniciService.Add(kul);

                return(Json(true));
            }
            else
            {
                return(Json(false));
            }
        }