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));
        }
示例#2
0
 public ActionResult AssignEmployees(string[] SelectedEmployees, int Id, string[] Value, string[] PercentageAmount)
 {
     _PayrollAllowanceMasterService.InsertIntoPayrollAllowanceDetail(SelectedEmployees, Id, Value, PercentageAmount);
     return(RedirectToAction("AssignEmployees/" + Id));
 }