示例#1
0
 public ActionResult Edit([Bind(Include = "assetId,assetSubcategoryId,dossierId,receivable,payable,description")] AssetModel asset)
 {
     if (ModelState.IsValid)
     {
         asset.Update();
         return(RedirectToAction("Index", new { dossierId = asset.dossierId }));
     }
     return(View(asset));
 }