public ActionResult DeleteFundDeductionSetup(int id) { SetupEmployeeMasterProviders SEMPro = new SetupEmployeeMasterProviders(); int i = SEMPro.DeleteFundDeduction(id); if (i != 0) { TempData["success"] = UtilityMessage.delete; } else { TempData["success"] = UtilityMessage.deletefailed; } return(RedirectToAction("FundDeductionIndex")); }