Beispiel #1
0
        public static string MyID(this HttpContext context)
        {
            var me = context.Me();

            if (me == null)
            {
                return(string.Empty);
            }
            return(me.Id);
        }
Beispiel #2
0
        public static string MyAccount(this HttpContext context)
        {
            var me = context.Me();

            if (me == null)
            {
                return(string.Empty);
            }
            return(me.Account);
        }