public bool Edit(ProductCat3Model model) { return(ServerResponse.Invoke <bool>("api/ProductCat3/edit?id=" + model.Id, JsonConvert.SerializeObject(model), "POST")); }
public ActionResult Edit(ProductCat3Model model) { bool status = Services.ProductCat3Service.Edit(model); return(RedirectToAction("Index")); }
public bool Create(ProductCat3Model model) { return(ServerResponse.Invoke <bool>("api/ProductCat3/create", JsonConvert.SerializeObject(model), "POST")); }