Ejemplo n.º 1
0
        public string DeleteApiKey()
        {
            var log  = new SysLogModel();
            var json = UserUtilities.DeleteApiKey(
                ss: SiteSettingsUtilities.UsersSiteSettings());

            log.Finish(json.Length);
            return(json);
        }
        /// <summary>
        /// Fixed:
        /// </summary>
        public string DeleteApiKey(Context context)
        {
            var log  = new SysLogModel(context: context);
            var json = UserUtilities.DeleteApiKey(
                context: context,
                ss: SiteSettingsUtilities.UsersSiteSettings(context: context));

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