コード例 #1
0
        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));
        }
コード例 #2
0
        public ActionResult AssignEmployees(int Id)
        {
            int officeID = Convert.ToInt32(Session["OfficeId"]);
            PayrollAllowanceMasterDTO Record = _PayrollAllowanceMasterService.GetPayrollDetailByMasterId(Id, officeID);

            return(View(Record));
        }