Exemplo n.º 1
0
        public ActionResult ReportUnitIndex()
        {
            AppConsumeReportVM viewModel = new AppConsumeReportVM();

            viewModel            = populateDropDownList(viewModel);
            viewModel.ReportType = 1;
            return(View(viewModel));
        }
Exemplo n.º 2
0
 private AppConsumeReportVM populateDropDownList(AppConsumeReportVM viewModel)
 {
     viewModel.UserList       = EnumService.GetAppConsumeUsersByTypeEVID(8);
     viewModel.ReportTypeList = EnumService.GetReportTypes();
     return(viewModel);
 }