public bool UpdateWithValues(int id, string nombre, string direccion)
        {
            NegocioSucursal negocioSucursal = new NegocioSucursal();

            return(negocioSucursal.Update(id, nombre, direccion));
        }
        public bool Update(MDSucursal editableSucursal)
        {
            NegocioSucursal negocioSucursal = new NegocioSucursal();

            return(negocioSucursal.Update(editableSucursal));
        }
        public bool Insert(MDSucursal nuevoTipoProducto)
        {
            NegocioSucursal negocioSucursal = new NegocioSucursal();

            return(negocioSucursal.Insert(nuevoTipoProducto));
        }
        public bool InsertWithValues(string nombre, string direccion)
        {
            NegocioSucursal negocioSucursal = new NegocioSucursal();

            return(negocioSucursal.Insert(nombre, direccion));
        }
        public bool Delete(int id)
        {
            NegocioSucursal negocioSucursal = new NegocioSucursal();

            return(negocioSucursal.Delete(id));
        }
        public List <MDSucursal> BuscarAll()
        {
            NegocioSucursal negocioSucursal = new NegocioSucursal();

            return(negocioSucursal.Select());
        }
        public MDSucursal Buscar(int id)
        {
            NegocioSucursal negocioSucursal = new NegocioSucursal();

            return(negocioSucursal.Select(id));
        }