public ActionResult Enable(int id) { var cId = AgroExpressDBAccess.GetSalePointById(id); if (cId.IsDeleted == true) { AgroExpressDBAccess.EnableSalePoint(cId.PKSalePointID); return(RedirectToAction("DisabledList")); } else { return(RedirectToAction("DisabledList")); } }