コード例 #1
0
        public ActionResult MultiCityPaintList()
        {
            IEnumerable <PaintInfoModel> countyList     = CityPaintManager.SelectCountryPaintList();
            IEnumerable <PaintInfoModel> cityList       = CityPaintManager.SelectCityPaintList();
            MultiCityPaintModel          multiCityModel = new MultiCityPaintModel();

            multiCityModel.CountryPaintList = countyList;
            multiCityModel.CityPaintList    = cityList;
            return(View(multiCityModel));
        }
コード例 #2
0
        public ActionResult CountryPaintList()
        {
            IEnumerable <PaintInfoModel> list = CityPaintManager.SelectCountryPaintList();

            return(View(list));
        }