//удаление расчета public JsonResult Delete(int id) { var isComplete = false; try { var user = GetUser(); var db = new DbEngine(); isComplete = db.DeleteCalculateSpecificationPosition(id, user); } catch (Exception) { isComplete = false; } return Json(new { IsComplete = isComplete }, JsonRequestBehavior.AllowGet); }