Ejemplo n.º 1
0
        public SpecialOfferCollection GetSpecialOffersCollection(string where, string orderBy)
        {
            SpecialOfferData       data = new SpecialOfferData();
            SpecialOfferCollection col  = new SpecialOfferCollection();

            try
            {
                col = data.GetAllSpecialOffersDynamicCollection(where, orderBy);
            }
            catch (Exception ex)
            {
                log.Write(ex.Message, "GetSpecialOffersCollection");
                throw (ex);
            }
            finally
            {
                data = null;
            }
            return(col);
        }
Ejemplo n.º 2
0
        public SpecialOfferCollection GetAllSpecialOffersCollection()
        {
            SpecialOfferData       data = new SpecialOfferData();
            SpecialOfferCollection col  = new SpecialOfferCollection();

            try
            {
                col = data.GetAllSpecialOffersCollection();
            }
            catch (Exception ex)
            {
                log.Write(ex.Message, "GetAllSpecialOffersCollection");
                throw (ex);
            }
            finally
            {
                data = null;
            }
            return(col);
        }