Пример #1
0
        private string PropertyList()
        {
            StringBuilder        sb = new StringBuilder();
            PropertiesController pc = new PropertiesController();

            if (!(string.IsNullOrEmpty(Params["ObjectOwnerId"].ToString())))
            {
                return(pc.ListPropertiesJSON(PortalId, Convert.ToInt32(Params["ObjectType"]), Convert.ToInt32(Params["ObjectOwnerId"])));
            }
            else
            {
                return(string.Empty);
            }
        }
Пример #2
0
		private string PropertyList()
		{

			StringBuilder sb = new StringBuilder();
			PropertiesController pc = new PropertiesController();
			if (! (string.IsNullOrEmpty(Params["ObjectOwnerId"].ToString())))
			{
				return pc.ListPropertiesJSON(PortalId, Convert.ToInt32(Params["ObjectType"]), Convert.ToInt32(Params["ObjectOwnerId"]));
			}
			else
			{
				return string.Empty;
			}


		}