// GET: Assets/Edit/5 public ActionResult Edit(int id) { var asset = AssetsManager.Find(id); ViewBag.AssetTypeId = GetAssetTypes(); return(View(asset)); }