コード例 #1
0
        public static string AddToMyGallery(int id, string type)
        {
            string rtnVal = string.Empty;

            var proxy = new BusinessProxy();

            try
            {
                rtnVal = proxy.AddToMyGallery(id, type, Guid.Parse(HttpContext.Current.Session["UserId"].ToString()));
            }
            catch (Exception ex)
            {
                Log.Error(ex);
            }

            return(rtnVal);
        }