예제 #1
0
 public void UpdateProduct(Product product)
 {
     Manager.UpdateProduct(product);
 }
예제 #2
0
 public SaleItemViewModel(Product product)
 {
     Product = product;
     Description = product.Description;
     BasePrice = product.Price;
 }
예제 #3
0
 public void AddProduct(Product product)
 {
     Manager.AddProduct(product);
 }
예제 #4
0
 public void UpdateProduct(Product product)
 {
     product.Update();
 }
예제 #5
0
 public void AddProduct(Product product)
 {
     product.Insert();
 }
예제 #6
0
        public void Save()
        {
            var product = new Product();
            product.Id = Guid.NewGuid();
            product.Code = Code;
            product.Group = Group;
            product.Description = Description;
            product.Cost = Cost;
            product.Price = Price;

            ProductService.AddProduct(product);

            Close();
        }
예제 #7
0
 public SaleItemViewModel(Product product)
 {
 }