public JsonResult DeleteCompany(int id) { var result = CompanyBusinessLogic.Delete(id); if (result) { return(Json(new { Success = true, Message = "Delete Successfully." })); } return(Json(new { Success = false, Message = "Error in transaction." })); }