コード例 #1
0
 public static bool EditPromotion(tbl_UserPromotionCode model)
 {
     if (model.ID <= 0)
     {
         return(DALUserPermission.AddPromotion(model));
     }
     else
     {
         return(DALUserPermission.UpdatePromotion(model));
     }
 }