public IActionResult index()
        {
            var model = new AdminKullaniciViewModel();

            model.KulId        = HttpContext.Session.GetInt32("id");
            model.Roller       = _rolServis.RolleriGetir();
            model.Kullanicilar = _kullaniciServis.KullanicilariGetir();
            return(View(model));
        }
        public IActionResult Guncelle(int id)
        {
            var        roller    = _rolServis.RolleriGetir();
            var        kullanici = _kullaniciServis.KullaniciGetir(id);
            SelectList datacombo = new SelectList(roller, "RolId", "RolAdi", kullanici.RolId);
            var        model     = new AdminKullaniciViewModel()
            {
                SelectedRolId   = kullanici.RolId,
                SelectedRolData = datacombo,
                Kullanici       = kullanici
            };

            return(View(model));
        }