Exemplo n.º 1
0
        public string CrearCliente(string p_apellidos, string p_password, string p_username, string p_NIF, string p_nombre, string p_localidad, string p_codigoPostal, string p_numCuentaBancaria, string p_telefono, string p_email, string p_url_foto)
        {
            ClienteEN clienteEN = null;
            string    oid;

            //Initialized ClienteEN
            clienteEN           = new ClienteEN();
            clienteEN.Apellidos = p_apellidos;

            clienteEN.Password = p_password;

            clienteEN.Username = p_username;

            clienteEN.NIF = p_NIF;

            clienteEN.Nombre = p_nombre;

            clienteEN.Localidad = p_localidad;

            clienteEN.CodigoPostal = p_codigoPostal;

            clienteEN.NumCuentaBancaria = p_numCuentaBancaria;

            clienteEN.Telefono = p_telefono;

            clienteEN.Email = p_email;

            clienteEN.Url_foto = p_url_foto;

            //Call to ClienteCAD

            oid = _IClienteCAD.CrearCliente(clienteEN);
            return(oid);
        }
Exemplo n.º 2
0
        public string CrearCliente(string p_NIF, string p_nombre, string p_email, string p_password, string p_apellidos, string p_direccion, string p_telefono, int p_cp)
        {
            ClienteEN clienteEN = null;
            string    oid;

            //Initialized ClienteEN
            clienteEN     = new ClienteEN();
            clienteEN.NIF = p_NIF;

            clienteEN.Nombre = p_nombre;

            clienteEN.Email = p_email;

            clienteEN.Password = p_password;

            clienteEN.Apellidos = p_apellidos;

            clienteEN.Direccion = p_direccion;

            clienteEN.Telefono = p_telefono;

            clienteEN.Cp = p_cp;

            //Call to ClienteCAD

            oid = _IClienteCAD.CrearCliente(clienteEN);
            return(oid);
        }