Пример #1
0
        public void DeleteVendor(int VendorID)
        {
            DataProvider.Instance().DeleteVendor(VendorID);
            var objBanners = new BannerController();

            objBanners.ClearBannerCache();
        }
Пример #2
0
 public void DeleteVendors(int PortalID)
 {
     int TotalRecords = 0;
     foreach (VendorInfo vendor in GetVendors(PortalID, true, Null.NullInteger, Null.NullInteger, ref TotalRecords))
     {
         if (vendor.Authorized == false)
         {
             DeleteVendor(vendor.VendorId);
         }
     }
     var objBanners = new BannerController();
     objBanners.ClearBannerCache();
 }
Пример #3
0
        public void DeleteVendors(int PortalID)
        {
            int TotalRecords = 0;

            foreach (VendorInfo vendor in GetVendors(PortalID, true, Null.NullInteger, Null.NullInteger, ref TotalRecords))
            {
                if (vendor.Authorized == false)
                {
                    DeleteVendor(vendor.VendorId);
                }
            }
            var objBanners = new BannerController();

            objBanners.ClearBannerCache();
        }
Пример #4
0
 public void DeleteVendor(int VendorID)
 {
     DataProvider.Instance().DeleteVendor(VendorID);
     var objBanners = new BannerController();
     objBanners.ClearBannerCache();
 }