public async System.Threading.Tasks.Task <ActionResult> DeleteItem(string Id) { bool status = false; string msg = string.Empty; try { try { Commonhelper.DeleteItemById(Id); msg = "Item delete successfully!"; status = true; } catch (Exception ex) { msg = "Error in processing"; status = false; } } catch (Exception ex) { msg = "Error in processing"; status = false; } return(Json(new { status, msg }, JsonRequestBehavior.AllowGet)); }