public string New(Context context, long id = 0)
        {
            var log  = new SysLogModel(context: context);
            var html = UserUtilities.EditorNew(
                context: context,
                ss: SiteSettingsUtilities.UsersSiteSettings(context: context));

            log.Finish(context: context, responseSize: html.Length);
            return(html);
        }
Example #2
0
        public ActionResult New(long id = 0)
        {
            var log  = new SysLogModel();
            var html = UserUtilities.EditorNew(
                SiteSettingsUtilities.UsersSiteSettings());

            ViewBag.HtmlBody = html;
            log.Finish(html.Length);
            return(View());
        }
Example #3
0
        public ActionResult New(long id = 0)
        {
            var context = new Context();
            var log     = new SysLogModel(context: context);
            var html    = UserUtilities.EditorNew(
                context: context,
                ss: SiteSettingsUtilities.UsersSiteSettings(context: context));

            ViewBag.HtmlBody = html;
            log.Finish(context: context, responseSize: html.Length);
            return(View());
        }