Пример #1
0
        public ActionResult Create([Bind(Include = "id,name,OIB,phone,adress,since,email")] firm firm)
        {
            if (ModelState.IsValid)
            {
                _firmService.Create(firm);
                return(RedirectToAction("Index"));
            }

            return(View(firm));
        }