/// <inheritdoc/> public async Task UpdateAttributeOption(AttributeOptionDto input) { var attributeValue = await _attributeOptionRepository.GetAsync(input.Id); input.MapTo(attributeValue); await attributeManager.UpdateAttributeOptionAsync(attributeValue); }
/// <inheritdoc/> public async Task CreateAttributeOption(AttributeOptionDto input) { var attributeValue = input.MapTo <ProductAttributeOption>(); await attributeManager.CreateAttributeOptionAsync(attributeValue); }