public ActionResult deletevirtual() { int id = WebRequest.GetInt("id", 0); int forbom = WebRequest.GetInt("forbom", 0); var r = bomService.DeleteVirtual(id, forbom); return(Json(r, JsonRequestBehavior.AllowGet)); }