Exemplo n.º 1
0
        public ActionResult FundDeductionEdit(SetupEmployeeMasterModel model)
        {
            SetupEmployeeMasterProviders SEMPro = new SetupEmployeeMasterProviders();
            int i = SEMPro.UpdateFundDeductionSetup(model);

            if (i != 0)
            {
                TempData["success"] = HospitalManagementSystem.UtilityMessage.save;
                return(RedirectToAction("FundDeductionIndex"));
            }
            else
            {
                TempData["success"] = HospitalManagementSystem.UtilityMessage.savefailed;
                return(RedirectToAction("FundDeductionIndex"));
            }
        }