Rifacimento DB e sync

ora la struttura è + coerente, iniziato emrge dati, chiavi tutte SURROGATE con ID
This commit is contained in:
Samuele E. Locatelli
2016-09-21 16:14:09 +02:00
parent 64d25a7b4f
commit ca4cd6c15c
50 changed files with 736 additions and 1842 deletions
@@ -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)
{