public JsonResult RegistrarPersNatural(ClienteViewModel oClienteViewModel) { PersonaNatLN oPersNatLN = new PersonaNatLN(); int resultado; resultado = oPersNatLN.RegistrarActualizarPersNatural(oClienteViewModel.PersNat); return Json(resultado); }
public JsonResult RegistrarPersJuridica(ClienteViewModel oClienteViewModel) { PersonaJurLN oPersJurLN = new PersonaJurLN(); int resultado; resultado = oPersJurLN.RegistrarActualizarPersJuridico(oClienteViewModel.PersJur); return Json(resultado); }