public ActionResult ResignationDetail(SetupEmployeeMasterModel model) { SetupEmployeeMasterProviders SEMPro = new SetupEmployeeMasterProviders(); int i = SEMPro.InsertResignationDetail(model); if (i != 0) { return(RedirectToAction("Index")); } else { return(RedirectToAction("Index")); } }