コード例 #1
0
        public string GetProductInfo(int productId)
        {
            Product ret;

            try
            {
                ret = StoreService.GetProductInfo(productId);
                return(objDynamicJson(ret));
            }
            catch (Exception e)
            {
                return(generateMessageFormatJason(e.Message));
            }
        }
コード例 #2
0
ファイル: LoginProxy.cs プロジェクト: hadasat/Web-Store-
 public string GetProductInfo(int productId)
 {
     return(JsonHandler.SerializeObject(StoreService.GetProductInfo(productId)));
 }