Exemple #1
0
         public ActionResult EmployeeDependentInfoSheet(PersonnelReportsVM param)
         {
             string SelectedId = Request.Form["ListOfSelectedEmployees"];

             var reportViewer = this.generateFamilyDependentperBatchReportViewer(SelectedId);
             var memoryStream = Common.Helper.createFileMemoryStream(reportViewer, "PDF");

             return new FileStreamResult(memoryStream, "application/pdf");
        }
Exemple #2
0
         public ActionResult EmployeeDependentInfoSheet()
        {

            var viewModel = new PersonnelReportsVM()
            {
                DepartmentList = departmentDb.getAllDepartment(),
                ContractTypeList = departmentDb.getAllContractType()
            };
            return View(viewModel);
        }