public void EditProduct(ProductViewModel product) { var entity = new Product(); product.CopyToEntity(entity); this.BaseService.Update(entity); this.BaseService.Save(); }
public void EditProduct(ProductViewModel product) { var entity = new Product(); product.CopyToEntity(entity); this.BaseService.Update(entity); this.BaseService.Save(); }