Delete() public method

Deletes a product.
public Delete ( ProductDTO productDel ) : void
productDel openTill.Domain.DTO.ProductDTO Product to delete
return void
 public void NullDTOProductDeleteException()
 {
     ProductRepository testProductRepository = new ProductRepository();
     testProductRepository.Delete(null);
 }