public JsonResult DeleteSlideImage(string id)
        {
            Result result = new Result();

            _iSlideAdsService.DeleteSlidAd(0, Convert.ToInt64(id));
            result.success = true;
            return(Json(result));
        }
Beispiel #2
0
 public JsonResult DeleteSlide(long Id)
 {
     _iSlideAdsService.DeleteSlidAd(0, Id);
     return(Json(new Result {
         success = true
     }));
 }
Beispiel #3
0
 public JsonResult DeleteSlide(long Id)
 {
     _iSlideAdsService.DeleteSlidAd(0, Id);
     return(Json(new Result {
         success = true
     }, JsonRequestBehavior.AllowGet));
 }
 public JsonResult DeleteSlideImage(string id)
 {
     _iSlideAdsService.DeleteSlidAd(CurrentSellerManager.ShopId, Convert.ToInt64(id));
     return(Json(new { success = true }));
 }
 public JsonResult DeleteSlide(long Id)
 {
     _iSlideAdsService.DeleteSlidAd(CurrentSellerManager.ShopId, Id);
     ClearCache();
     return(Json(new { success = true }));
 }
Beispiel #6
0
 /// <summary>
 /// 删除一个自动轮播广告图片
 /// </summary>
 /// <param name="id"></param>
 public static void DeleteSlidAd(long shopId, long id)
 {
     _iSlideAdsService.DeleteSlidAd(shopId, id);
 }