Example #1
0
        public ActionResult Create([Bind(Include = "HardwareId,Product,ProdDesc,AdvOverBeijer,AdditionalSpecs")] HardwareViewModel hardware)
        {
            if (ModelState.IsValid)
            {
                _hardwareService.Create(hardware);
                return(RedirectToAction("Index"));
            }

            return(View(hardware));
        }