public ActionResult Create([Bind(Include = "ShippingMethodID,Title,Price,CreateDate")] ShippingMethod shippingMethod) { if (ModelState.IsValid) { var _dal = new ShippingMethodDAL(); int id = _dal.Insert(shippingMethod); if (id > 0) { return(RedirectToAction("Index", "ShippingMethods")); } else { ModelState.AddModelError("", "Thêm phương thức vận chuyển ko thành công"); } } return(View(shippingMethod)); }