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); } }
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); } }
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); } }
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(); }