public void EditProduct(Product ProductToEdit) { ProductRepository.Update(ProductToEdit); SaveProduct(); }
public void CreateProduct(Product Product) { ProductRepository.Add(Product); SaveProduct(); }