Пример #1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="businessGuid"></param>
        /// <returns></returns>
        public ActionResult MyLocation(Guid businessGuid)
        {
            BusinessDomainLogic businessDomainLogic = new BusinessDomainLogic();
            BusinessObject      businessObject      = new BusinessObject();

            businessObject = businessDomainLogic.GetLocationByGuid(businessGuid);
            businessObject.CityList.Add(new Domain.City {
                CityGuid = Guid.Empty, CityName = "Other", CityUrlName = "Other"
            });
            ViewBag.GoolgeMapKey = ConfigurationManager.AppSettings["GoogleMapKey"];
            return(View(businessObject));
        }
Пример #2
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="guid"></param>
        /// <returns></returns>
        public ActionResult GetBusinessInfo(Guid guid)
        {
            BusinessDomainLogic businessDomainLogic = new BusinessDomainLogic();

            return(PartialView("_GetBusinessInfo", businessDomainLogic.GetLocationByGuid(guid)));
        }