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

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

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