public void UpdateProduct(Product product) { Manager.UpdateProduct(product); }
public SaleItemViewModel(Product product) { Product = product; Description = product.Description; BasePrice = product.Price; }
public void AddProduct(Product product) { Manager.AddProduct(product); }
public void UpdateProduct(Product product) { product.Update(); }
public void AddProduct(Product product) { product.Insert(); }
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(); }
public SaleItemViewModel(Product product) { }