public ActionResult EndreKunde(int id)
        {
            if (Session["AdminLoggetInn"] != null)
            {
                bool loggetInn = (bool)Session["AdminLoggetInn"];

                if (loggetInn)
                {
                    Kunde enKunde = _adminBLL.hentEnKunde(id);
                    return(View(enKunde));
                }
            }
            return(RedirectToAction("Index"));
        }
        public ActionResult EndreKunde(int id)
        {
            Kunde enKunde = _adminBLL.hentEnKunde(id);

            return(View(enKunde));
        }