Beispiel #1
0
 public virtual void DeleteProductCities(ProductCities productcity)
 {
     if (productcity == null)
     {
         throw new ArgumentNullException("productcity");
     }
     //delete
     _productCitiesRepository.Delete(productcity);
 }
Beispiel #2
0
 public virtual void AddProductCities(ProductCities productcity)
 {
     if (productcity == null)
     {
         throw new ArgumentNullException("productcity");
     }
     //insert
     _productCitiesRepository.Insert(productcity);
 }