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

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