public JsonResult DeleteEstate(int id) { bool isdelete = EstateManager.Delete(id); //if (isdelete) return(Json(isdelete)); // else return false; }