Example #1
0
        public string Create()
        {
            var log  = new SysLogModel();
            var json = GroupUtilities.Create(
                ss: SiteSettingsUtilities.GroupsSiteSettings());

            log.Finish(json.Length);
            return(json);
        }
        public string Create(Context context)
        {
            var log  = new SysLogModel(context: context);
            var json = GroupUtilities.Create(
                context: context,
                ss: SiteSettingsUtilities.GroupsSiteSettings(context: context));

            log.Finish(context: context, responseSize: json.Length);
            return(json);
        }