Update edit modale porta
This commit is contained in:
@@ -659,6 +659,9 @@ namespace WebDoorCreator.Data.Controllers
|
||||
if (currRec != null) //if is not null edit the record found
|
||||
{
|
||||
currRec.Quantity = addEditRec.Quantity;
|
||||
currRec.DoorExtCode= addEditRec.DoorExtCode;
|
||||
currRec.DoorDescript= addEditRec.DoorDescript;
|
||||
currRec.TypeId = addEditRec.TypeId;
|
||||
localDbCtx.Entry(currRec).State = EntityState.Modified;
|
||||
}
|
||||
else //if is null add the record as new in the table
|
||||
|
||||
Reference in New Issue
Block a user