public static tbl_UserPromotionCode GetPromotion(string id)
 {
     if (string.IsNullOrEmpty(id))
     {
         return(new tbl_UserPromotionCode());
     }
     else
     {
         DataTable dt = DALUserPermission.GetPromotion(id);
         if (dt != null && dt.Rows.Count > 0)
         {
             return(new tbl_UserPromotionCode(dt.Rows[0]));
         }
         else
         {
             return(new tbl_UserPromotionCode());
         }
     }
 }