public ActionResult DeleteCompany(int id) { ViewBag.ErrorMessage = cn.CompanyDelete(id); return(RedirectToAction("ListCompany")); }