Ejemplo n.º 1
0
 public IActionResult UpdateWeapon(string weaponkey, string dangerdegree, string planetkey)
 {
     model = new WeaponModel(HttpContext.Session.GetString("dbusername"), HttpContext.Session.GetString("dbpassword"));
     model.UpdateWeapon(weaponkey, dangerdegree, planetkey);
     return(RedirectToAction("ManageWeapon", new { @id = weaponkey }));
 }