public int AgregarUsuarioBD(ClienteENT DatosUsuario) { return(ClienteDAL.AgregarCliente(new Cliente() { id_Cliente = DatosUsuario.id_Cliente, Nombre_Cliente = DatosUsuario.Nombre_Cliente, Direccion_Cliente = DatosUsuario.Direccion_Cliente, Tel_Cliente = DatosUsuario.Tel_Cliente })); }
public int Agregar() { DALCliente dalClient = new DALCliente(); try { return(dalClient.AgregarCliente(this.IdCliente, this.Nombre, this.Apellido, this.DNI, this.FechaNacimiento, this.Direccion, this.Telefono, this.Tarjeta)); } catch (Exception) { throw; } }