public async Task DeleteProductGroup(string id) { if (string.IsNullOrWhiteSpace(id)) { throw new ArgumentNullException(nameof(id)); } await _productGroupRepository.DeleteProductGroup(id); }