Esempio n. 1
0
 public static bool AddEdit(Config_BannerType bannerType)
 {
     if (bannerType.CBTypeId > 0)
     {
         return(Config_BannerTypeDAL.Instance().UpdateBannerType(bannerType));
     }
     else
     {
         return(Config_BannerTypeDAL.Instance().AddBannerType(bannerType));
     }
 }
Esempio n. 2
0
 public static PageList <Config_BannerType> SearchInfo(PageParam bannerParams)
 {
     return(Config_BannerTypeDAL.Instance().GetPageByProcList(bannerParams.page, bannerParams.rows));
 }
Esempio n. 3
0
 public static bool Delete(int id)
 {
     return(Config_BannerTypeDAL.Instance().DeleteBannerType(id));
 }
Esempio n. 4
0
 public static List <Config_BannerType> GetBannerType()
 {
     return(Config_BannerTypeDAL.Instance().GetBannerType());
 }