public int UpdateProduct(Product or) { _Proservice = new ProductService(); if (_Proservice.Update(or) == 1) return 1; else return 0; }