public virtual void UpdateCategoryAttributeMapping(CategoryAttributeMapping categoryAttributeMapping) { if (categoryAttributeMapping == default) { throw new ArgumentNullException(nameof(categoryAttributeMapping)); } _categoryAttributeMappingRepository.Update(categoryAttributeMapping); }
public virtual void DeleteCategoryMapping(CategoryAttributeMapping categoryAttributeMapping) { if (categoryAttributeMapping == null) { throw new ArgumentNullException(nameof(categoryAttributeMapping)); } _categoryAttributeMappingRepository.Delete(categoryAttributeMapping); }