Пример #1
0
        public ActionResult Update(int id)
        {
            UserManager um   = new UserManager();
            List <User> list = um.GetAll();

            ViewData["User"] = list;

            ImageManager im    = new ImageManager();
            List <Image> lists = im.GetAll();

            ViewData["Image"] = lists;

            CultureManager cm   = new CultureManager();
            culture        info = cm.GetByPK(id);

            return(View(info));
        }