public JsonResult GetServiceList(Service.TuhuShop.Models.ShopServesRequest request)
 {
     using (var client = new Tuhu.Service.TuhuShop.ShopClient())
     {
         var response = client.GetShopServesDetailList(request);
         if (response.Success)
         {
             return(Json(new
             {
                 data = response.Result
             }));
         }
         else
         {
             return(Json(new
             {
                 data = new List <Service.TuhuShop.Models.ShopServesDetailList>()
             }));
         }
     }
 }
 public JsonResult GetShopServesAllCatogry()
 {
     using (var client = new Tuhu.Service.TuhuShop.ShopClient())
     {
         var response = client.GetShopServesAllCatogry();
         if (response.Success)
         {
             return(Json(new
             {
                 data = response.Result
             }, JsonRequestBehavior.AllowGet));
         }
         else
         {
             return(Json(new
             {
                 data = new List <Tuhu.Service.TuhuShop.Models.ShopServesAllCatogry>()
             }, JsonRequestBehavior.AllowGet));
         }
     }
 }