public ActionResult AssignEmployees(int Id) { int officeId = Convert.ToInt32(Request["officeId"]); if (officeId == 0) { officeId = Convert.ToInt32(Session["OfficeId"]); } ViewBag.officeId = officeId; ViewBag.OfficeList = _officeService.GetOfficeData(); PayrollAllowanceMasterDTO Record = _PayrollAllowanceMasterService.GetPayrollDetailByMasterId(Id, officeId); return(View(Record)); }
public ActionResult AssignEmployees(int Id) { int officeID = Convert.ToInt32(Session["OfficeId"]); PayrollAllowanceMasterDTO Record = _PayrollAllowanceMasterService.GetPayrollDetailByMasterId(Id, officeID); return(View(Record)); }