示例#1
0
        public ActionResult GoogleMap()
        {
            var model = new ModelCityItem
            {
                ListItem          = _cityBl.GetAllListByGoogleMap(),
                ListGoogleMapItem = _googleMapBl.GetAllListSimple()
            };

            return(View(model));
        }
示例#2
0
        public ActionResult ListItems()
        {
            var model = new ModelCityItem
            {
                ListItem = _cityDa.GetListbyRequest(Request),
                PageHtml = _cityDa.GridHtmlPage
            };

            return(View(model));
        }
示例#3
0
        public PartialViewResult Direct(int ctrId, string url)
        {
            var model = new ModelCityItem
            {
                ListItem          = _cityBl.GetAllListByGoogleMap(),
                ListGoogleMapItem = _googleMapBl.GetAllListSimple(),
                CtrId             = ctrId,
                CtrUrl            = url
            };

            return(PartialView(model));
        }