public ActionResult personaIdentificacion(RRHH_PERSONA_IDENTIFICACION entity, string op) { var count = 0; if (op == "el") { count = _IPersona.deletePersonaIdentificacion(Convert.ToInt32(entity.I_COD_TIPO_IDENTIFICACION), entity.C_COD_PERSONA); } else if (op == "srv" || op == "loc") { count = _IPersona.registrarIdentificacion(entity); } return(Json(count, JsonRequestBehavior.AllowGet)); }