Example #1
0
        public bool SaveJSTemplate(string template, int zoneType)
        {
            string templateName = this.GetTemplateName(zoneType);

            try
            {
                SafeSC.WriteFile(GetJsTemplatePath() + templateName, template);
                return(true);
            }
            catch
            {
                return(false);
            }
        }