예제 #1
0
        public static WikiHelpRequest Create(string section, string application, string applicationPage, string url)
        {
            try
            {
                WikiHelpRequest w = new WikiHelpRequest();

                w.Section         = section;
                w.Application     = application;
                w.ApplicationPage = applicationPage;
                w.Url             = url;

                w.Save();

                return(w);
            } catch (Exception ex) {
                umbraco.BusinessLogic.Log.Add(umbraco.BusinessLogic.LogTypes.Debug, -1, ex.ToString());
            }

            return(null);
        }
예제 #2
0
        public static WikiHelpRequest Create(string section, string application, string applicationPage, string url)
        {
            try
            {
            WikiHelpRequest w = new WikiHelpRequest();

            w.Section = section;
            w.Application = application;
            w.ApplicationPage = applicationPage;
            w.Url = url;

            w.Save();

            return w;

             } catch (Exception ex) {
                umbraco.BusinessLogic.Log.Add(umbraco.BusinessLogic.LogTypes.Debug, -1, ex.ToString());

            }

            return null;
        }