Example #1
0
        public ActionResult Create([Bind(Include = "ThuMa,ThuTen")] Thu tHU)
        {
            if (ModelState.IsValid)
            {
                db.Thu.Add(tHU);
                db.SaveChanges();
                return(RedirectToAction("Index"));
            }

            return(View(tHU));
        }