// GET: Hesap/Create
        public ActionResult Create()
        {
            MusteriManager musteriManager     = new MusteriManager();
            BusinessLayerResult <Musteri> res = musteriManager.GetUserById(CurrentSession.User.MusteriID);

            return(View(res.Result));
        }
        public ActionResult EditProfile()
        {
            BusinessLayerResult <Musteri> res =
                musteriManager.GetUserById(CurrentSession.User.MusteriID);

            if (res.Errors.Count > 0)
            {
                //ErrorViewModel errorNotifyObj = new ErrorViewModel()
                //{
                //    Title = "Hata Oluştu",
                //    Items = res.Errors
                //};

                //return View("Error", errorNotifyObj);
            }

            return(View(res.Result));
        }