public async Task <Result> Post([FromBody] ProductAttributeGroupParam model)
        {
            var group = new ProductAttributeGroup
            {
                Name = model.Name
            };

            _productAttrGroupRepository.Add(group);
            await _productAttrGroupRepository.SaveChangesAsync();

            return(Result.Ok());
        }
        public IActionResult Post([FromBody] ProductAttributeGroupFormVm model)
        {
            if (ModelState.IsValid)
            {
                var productAttributeGroup = new ProductAttributeGroup
                {
                    Name = model.Name
                };

                _productAttrGroupRepository.Add(productAttributeGroup);
                _productAttrGroupRepository.SaveChanges();

                return(Ok());
            }
            return(BadRequest(ModelState));
        }