public async Task SaveAsync(Store store) { if (store == null) { return; } await Wrapper.SaveAsync(CollectinoName, store, x => x.StoreId == store.StoreId); }
public async Task SaveAsync(Coupon coupon) { if (coupon == null) { return; } await Wrapper.SaveAsync(CollectinoName, coupon, x => x.CouponId == coupon.CouponId); }
public async Task SaveAsync(Category category) { if (category == null) { return; } await Wrapper.SaveAsync(CollectinoName, category, x => x.CategoryId == category.CategoryId); }
public async Task SaveAsync(FailedEvent @event) { if (@event == null) { return; } await Wrapper.SaveAsync(CollectinoName, @event, x => x.Id == @event.Id); }
public async Task SaveAsync(AffiliateStoreMatch matchedStore) { if (matchedStore == null) { return; } await Wrapper.SaveAsync(CollectinoName, matchedStore, x => x.AdvertiseStoreId == matchedStore.AdvertiseStoreId && x.AffiliateProgram == matchedStore.AffiliateProgram && x.AffiliateStoreId == matchedStore.AffiliateStoreId); }
public async Task SaveAsync(AffiliateCouponMatch matchedCoupon) { if (matchedCoupon == null) { return; } await Wrapper.SaveAsync(CollectinoName, matchedCoupon, x => x.AdvertiseCouponId == matchedCoupon.AdvertiseCouponId && x.AffiliateProgram == matchedCoupon.AffiliateProgram && x.AffiliateCouponId == matchedCoupon.AffiliateCouponId); }
public async Task SaveAsync(AffiliateCategoryMatch matchedCategory) { if (matchedCategory == null) { return; } await Wrapper.SaveAsync(CollectinoName, matchedCategory, x => x.AdvertiseCategoryId == matchedCategory.AdvertiseCategoryId && x.AffiliateProgram == matchedCategory.AffiliateProgram && x.AffiliateCategoryId == matchedCategory.AffiliateCategoryId); }