Ejemplo n.º 1
0
 public static IEnumerable <SE_MDBeautyBrandConfigModel> SelectListForCategoryId(string categoryId)
 {
     try
     {
         return(SE_MDBeautyBrandConfigDAL.SelectListForCategoryId(ProcessConnection.OpenTuhu_GrouponReadOnlyForDelay, categoryId));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Ejemplo n.º 2
0
 public static SE_MDBeautyBrandConfigModel Select(int id)
 {
     try
     {
         return(SE_MDBeautyBrandConfigDAL.Select(ProcessConnection.OpenTuhu_GrouponReadOnlyForDelay, id));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Ejemplo n.º 3
0
 public static bool Update(SE_MDBeautyBrandConfigModel model)
 {
     try
     {
         return(SE_MDBeautyBrandConfigDAL.Update(ProcessConnection.OpenTuhu_Groupon, model));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Ejemplo n.º 4
0
 public static IEnumerable <SE_MDBeautyBrandConfigModel> SelectListByBrandName(IEnumerable <string> brandName, int id)
 {
     try
     {
         List <string> listParms = new List <string>();
         foreach (var item in brandName)
         {
             listParms.Add(string.Format("N'{0}'", item));
         }
         return(SE_MDBeautyBrandConfigDAL.SelectListByBrandName(ProcessConnection.OpenTuhu_GrouponReadOnlyForDelay, listParms, id));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }