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