Example #1
0
 public async Task DeleteAsync(IList <long> ids)
 {
     foreach (var id in ids)
     {
         var builder = Builders <AffiliateStore> .Filter;
         var filter  = builder.Eq(c => c.StoreId, id);
         await Wrapper.DeleteOneAsync(CollectinoName, filter);
     }
 }
Example #2
0
 public async Task DeleteAsync(IList <Guid> ids)
 {
     foreach (var id in ids)
     {
         var builder = Builders <AffiliateCategoryMatch> .Filter;
         var filter  = builder.Eq(c => c.AdvertiseCategoryId, id);
         await Wrapper.DeleteOneAsync(CollectinoName, filter);
     }
 }
Example #3
0
 public async Task DeleteAsync(IList <Guid> ids)
 {
     foreach (var id in ids)
     {
         var builder = Builders <Coupon> .Filter;
         var filter  = builder.Eq(c => c.CouponId, id);
         await Wrapper.DeleteOneAsync(CollectinoName, filter);
     }
 }
Example #4
0
 public async Task DeleteAsync(IList <long> ids)
 {
     foreach (var id in ids)
     {
         var builder = Builders <AffiliateCoupon> .Filter;
         var filter  = builder.Eq(c => c.CouponId, id);
         await Wrapper.DeleteOneAsync(CollectinoName, filter);
     }
     throw new NotImplementedException();
 }