public virtual ActionResult DeleteStudent(long personId) { try { var data = _personManagementService.DeleteStudent(personId); return(Json(new { isError = !data.Item1, Message = data.Item2 })); } catch (Exception exception) { return(Json(new { isError = true, Message = @"خطا در حذف اطلاعات دانشجویی" })); } }