public JsonResult Deletar(SCMClienteServicosBE obj) { var serv = new SCMClienteServicosBLL(); serv.Delete(obj); return(Json(true, JsonRequestBehavior.AllowGet)); }
public JsonResult Cadastrar(SCMClienteServicosBE obj) { var serv = new SCMClienteServicosBLL(); if (obj.servCli_id == 0) { serv.Insert(obj); } else { serv.Update(obj); } return(Json(true, JsonRequestBehavior.AllowGet)); }