コード例 #1
0
        public static string ProcessItems(string rmaList, string type)
        {
            try
            {
                string sessionID = string.Empty;
                if (HttpContext.Current.Session["ActiveUser"] != null)
                {
                    User u = (User)HttpContext.Current.Session["ActiveUser"];
                    sessionID = u.SessionID;
                }
                else
                {
                    sessionID = "{A0A0A0A0-A0A0-A0A0-A0A0-A0A0A0A0A0A0}";
                }


                StaticService.ProcessItems(rmaList, sessionID, type);

                HttpContext.Current.Session["NoUserInteraction"] = true;
                HttpContext.Current.Session["UserInteraction"]   = true;
            }
            catch (Exception e)
            {
                Log.Error(e.Message, e);
                return("Error - " + e.Message);
            }

            return("Success");
        }