예제 #1
0
 public Customer Add(Customer newCustomer)
 {
     db.Add(newCustomer);
     return(newCustomer);
 }
예제 #2
0
 public Product Add(Product newProduct)
 {
     db.Add(newProduct);
     return(newProduct);
 }