public async Task <IEnumerable <ProductGroup> > GetAllProductGroups()
        {
            var productGroupDataEntities = await _productGroupRepository.GetAllProductGroups();

            var productGroups = productGroupDataEntities.Select(productGroup => _mapper.MapToBase(productGroup));

            return(productGroups);
        }