public async Task <JsonResult> DeleteAppById(int id) { ResponseResult responseResult; try { var result = await AppBusiness.DeleteAppByIdAsync(id); responseResult = new ResponseResult(result, ""); } catch (Exception) { responseResult = new ResponseResult(false, ""); } return(Json(responseResult, JsonRequestBehavior.AllowGet)); }