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