public JsonResult Edit(CalculateSpecificationPosition model) { var isComplete = false; try { model.Author = GetUser().Id; var db = new DbEngine(); isComplete = db.UpdateCalculateSpecificationPosition(model); } catch (Exception) { isComplete = false; } return Json(new { IsComplete = isComplete }); }