예제 #1
0
        private async Task SetFramesAsync(AbcMattressModel model, Product product)
        {
            var frameAttributes = (await _productAttributeService.GetAllProductAttributesAsync())
                                  .Where(pa => AbcMattressesConsts.IsFrame(pa.Name));

            foreach (var pa in frameAttributes)
            {
                await MergeFramesAsync(model, pa, product);
            }
        }