Rifacimento DB e sync
ora la struttura è + coerente, iniziato emrge dati, chiavi tutte SURROGATE con ID
This commit is contained in:
@@ -46,7 +46,7 @@ namespace StockManMVC.Controllers
|
||||
// more details see http://go.microsoft.com/fwlink/?LinkId=317598.
|
||||
[HttpPost]
|
||||
[ValidateAntiForgeryToken]
|
||||
public ActionResult Create([Bind(Include = "ID,Descr")] LocType locType)
|
||||
public ActionResult Create([Bind(Include = "ID,Descr,IsStock,IsCli,IsFor")] LocType locType)
|
||||
{
|
||||
if (ModelState.IsValid)
|
||||
{
|
||||
@@ -78,7 +78,7 @@ namespace StockManMVC.Controllers
|
||||
// more details see http://go.microsoft.com/fwlink/?LinkId=317598.
|
||||
[HttpPost]
|
||||
[ValidateAntiForgeryToken]
|
||||
public ActionResult Edit([Bind(Include = "ID,Descr")] LocType locType)
|
||||
public ActionResult Edit([Bind(Include = "ID,Descr,IsStock,IsCli,IsFor")] LocType locType)
|
||||
{
|
||||
if (ModelState.IsValid)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user