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); } }
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; } }