public void AddProducts(ProductMinInfo product)
        {
            Products p1 = new Products();

            p1.Description = product.Description;
            p1.ItemName    = product.ItemName;
            p1.Price       = product.Price;
            _et.Products.Add(p1);
            _et.SaveChanges();
        }
예제 #2
0
 public void AddProducts(ProductMinInfo p)
 {
     _ethnicStyleRepository.AddProducts(p);
 }