public ActionResult AssignSelectedEmployees(string[] SelectedEmployees, int Id, string[] Value, string[] PercentageAmount) { int officeId = Convert.ToInt32(Request["OfficeId"]); ViewBag.officeId = officeId; _PayrollAllowanceMasterService.InsertIntoPayrollAllowanceDetail(SelectedEmployees, Id, Value, PercentageAmount); return(RedirectToAction("AssignEmployees/" + Id, ViewBag.officeId)); }
public ActionResult AssignEmployees(string[] SelectedEmployees, int Id, string[] Value, string[] PercentageAmount) { _PayrollAllowanceMasterService.InsertIntoPayrollAllowanceDetail(SelectedEmployees, Id, Value, PercentageAmount); return(RedirectToAction("AssignEmployees/" + Id)); }