Exemple #1
0
        public void EditProduct(ProductViewModel product)
        {
            var entity = new Product();

            product.CopyToEntity(entity);
            this.BaseService.Update(entity);
            this.BaseService.Save();
        }