Example #1
0
        public string GetProductInfo(int productId)
        {
            Product ret;

            try
            {
                ret = StoreService.GetProductInfo(productId);
                return(objDynamicJson(ret));
            }
            catch (Exception e)
            {
                return(generateMessageFormatJason(e.Message));
            }
        }
Example #2
0
 public string GetProductInfo(int productId)
 {
     return(JsonHandler.SerializeObject(StoreService.GetProductInfo(productId)));
 }