Пример #1
0
        public override object LoginHandler(JObject data)
        {
            var result = base.LoginHandler(data);
            var status = ReflectionHelper.GetPropertyValue(result, "status");

            if (status == "success")
            {
                MmsService.LoginHandler(data);
            }
            return(result);
        }
Пример #2
0
        public static string GetCurrentProject()
        {
            var result = GetCookies("CurrentProject");

            if (result == null)
            {
                MmsService.LoginHandler(null);
            }

            return(result ?? GetCookies("CurrentProject"));
        }