public ActionResult ActiveCompany(int?Id) { AdminUsers obj = new AdminUsers(); obj.ActiveCompany(Id); return(RedirectToAction("CompanyList", "Admin")); }