Exemple #1
0
 public void UpdateProduct(Product product)
 {
     Manager.UpdateProduct(product);
 }
Exemple #2
0
 public SaleItemViewModel(Product product)
 {
     Product = product;
     Description = product.Description;
     BasePrice = product.Price;
 }
Exemple #3
0
 public void AddProduct(Product product)
 {
     Manager.AddProduct(product);
 }
Exemple #4
0
 public void UpdateProduct(Product product)
 {
     product.Update();
 }
Exemple #5
0
 public void AddProduct(Product product)
 {
     product.Insert();
 }
Exemple #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();
        }
Exemple #7
0
 public SaleItemViewModel(Product product)
 {
 }