Example #1
0
        /// <inheritdoc/>
        public async Task UpdateClassify(ProductClassifyInput input)
        {
            input.CheckNotNull("input");
            var classify = await _classifyRepository.GetAsync(input.Id);

            input.MapTo(classify);
            await attributeManager.UpdateClassifyAsync(classify);
        }
Example #2
0
 /// <inheritdoc/>
 public async Task CreateClassify(ProductClassifyInput input)
 {
     input.CheckNotNull("input");
     var classify = input.MapTo <ProductClassify>();
     await attributeManager.CreateClassifyAsync(classify);
 }