示例#1
0
 public static bool AddEdit(Config_ServiceType serviceType)
 {
     if (serviceType.CSTTypeId > 0)
     {
         return(Config_ServiceTypeDAL.Instance().UpdateServiceType(serviceType));
     }
     else
     {
         return(Config_ServiceTypeDAL.Instance().AddServiceType(serviceType));
     }
 }
示例#2
0
 public static PageList <Config_ServiceTypeSearch> SearchInfo(PageParam bannerParams)
 {
     return(Config_ServiceTypeDAL.Instance().GetPageByProcList(bannerParams.page, bannerParams.rows));
 }
示例#3
0
 public static bool Delete(int id)
 {
     return(Config_ServiceTypeDAL.Instance().Delete(id));
 }