public int UpdateShopBanner(ShopAppBanner banner) { try { return(handler.UpdateShopBanner(banner)); } catch (Exception ex) { var exception = new ShopsException(0, "修改App首页图片配置失败!", ex); logger.Log(Level.Error, exception, "Error in UpdateShopBanner."); throw exception; } }
public ShopAppBanner GetAppShopBannerByPKID(int _PKID) { try { return(handler.GetAppShopBannerByPKID(_PKID)); } catch (Exception ex) { var exception = new ShopsException(0, "更加ID查看App首页图片配置失败!", ex); logger.Log(Level.Error, exception, "Error in GetAppShopBannerByPKID."); throw exception; } }
public int DeleteShopBannerByPKID(int PKID) { try { return(handler.DeleteShopBannerByPKID(PKID)); } catch (Exception ex) { var exception = new ShopsException(0, "删除App首页图片配置失败!", ex); logger.Log(Level.Error, exception, "Error in DeleteShopBannerByPKID."); throw exception; } }
public List <ShopAppBanner> GetShopAppBannerList() { try { return(handler.GetShopAppBannerList()); } catch (Exception ex) { var exception = new ShopsException(0, "查看App首页图片配置失败!", ex); logger.Log(Level.Error, exception, "Error in GetShopAppBannerList."); throw exception; } }