Esempio n. 1
0
        public ActionResult Add(culture info)
        {
            CultureManager clm    = new CultureManager();
            bool           result = clm.Add(info);

            if (result)
            {
                return(Redirect("/LiuXinPeng/Culture/Culture"));
            }
            else
            {
                return(Content("新增失败"));
            }
        }
Esempio n. 2
0
 public int Add(Culture Culture)
 {
     return(pm.Add(Culture));
 }