示例#1
0
        public string Delete(int id)
        {
            var log  = new SysLogModel();
            var json = GroupUtilities.Delete(
                ss: SiteSettingsUtilities.GroupsSiteSettings(),
                groupId: id);

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

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