public void Update(Category v)
        {
            Category r = _context.NorthwindWebService.UpdateCategory(v);

            v.CategoryID = r.CategoryID;
            v.CategoryName = r.CategoryName;
            v.Description = r.Description;
        }
 public void DeleteCategory(Category category)
 {
     object[] results = Invoke("DeleteCategory", new object[] {category});
 }
 public Category CreateCategory(Category category)
 {
     object[] results = Invoke("CreateCategory", new object[] {category});
     return ((Category) (results[0]));
 }
 public Product[] SearchProduct(Category category, Supplier supplier)
 {
     object[] results = Invoke("SearchProduct", new object[] {category, supplier});
     return ((Product[]) (results[0]));
 }
 public void Delete(Category v)
 {
     _context.NorthwindWebService.DeleteCategory(v);
 }