コード例 #1
0
        public ActionResult ReportIndex()
        {
            TotalPointAndPriceReportVM viewModel = new TotalPointAndPriceReportVM();

            viewModel            = populateDropDownList(viewModel);
            viewModel.ReportType = 1;
            return(View(viewModel));
        }
コード例 #2
0
 private TotalPointAndPriceReportVM populateDropDownList(TotalPointAndPriceReportVM viewModel)
 {
     viewModel.ReportTypeList = EnumService.GetGroupReportTypes();
     return(viewModel);
 }