public ActionResult Login(LoginModel m)
        {
            try
            {
                KullaniciManager km           = new KullaniciManager();
                KullaniciDTO     kullaniciDto = km.Denetle(m.Kullanicilar.UserId, m.Kullanicilar.Sifre);
                Session["Kullanici"] = kullaniciDto.UserId;
                Session["Rol"]       = kullaniciDto.RolAd;
                if (Session["Rol"].ToString() == "Admin")
                {
                    return(RedirectToAction("Index", "Home"));
                }

                else
                {
                    return(RedirectToAction("Hata", "Login"));
                }
            }
            catch (Exception)
            {
                return(RedirectToAction("Hata2", "Login"));
            }
        }