public bool SaveJSTemplate(string template, int zoneType) { string templateName = this.GetTemplateName(zoneType); try { SafeSC.WriteFile(GetJsTemplatePath() + templateName, template); return(true); } catch { return(false); } }
public bool SaveJSTemplate(string template, int zoneType) { string templateName = this.GetTemplateName(zoneType); try { SafeSC.WriteFile(GetJsTemplatePath() + templateName, template); return(true); } catch { return(false); } }