Exemple #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));
     }
 }
Exemple #2
0
 public static PageList <Config_BannerType> SearchInfo(PageParam bannerParams)
 {
     return(Config_BannerTypeDAL.Instance().GetPageByProcList(bannerParams.page, bannerParams.rows));
 }
Exemple #3
0
 public static bool Delete(int id)
 {
     return(Config_BannerTypeDAL.Instance().DeleteBannerType(id));
 }
Exemple #4
0
 public static List <Config_BannerType> GetBannerType()
 {
     return(Config_BannerTypeDAL.Instance().GetBannerType());
 }