Esempio n. 1
0
        public ActionResult Giris(Entity.KullaniciYonetim.GirisView model)
        {
            if (ModelState.IsValid)
            {
                KullaniciRep      kRep = new KullaniciRep();
                Kullanıcı         kul  = kRep.Find(x => x.KullaniciAdi == model.KullaniciAdi);
                KullaniciYonetimi kYon = new KullaniciYonetimi();
                kYon.KullaniciGiris(model);
                Session["kullanici"] = kul;

                return(RedirectToAction("Index"));
            }
            return(View(model));
        }