public void EditProduct(Product product)
        {
            IValidator validator = ProductValidator.CreateValidator(product, true);

            validator.Validate();
            repository.EditProduct(product);
        }
        public void NewProduct(Product product, string clientId)
        {
            IValidator validator = ProductValidator.CreateValidator(product, false);

            validator.Validate();
            repository.NewProduct(product, clientId);
        }