예제 #1
0
        public List <String> Pesajes(Int32 id)
        {
            //CREO FINDER
            AnimalFinder f = new AnimalFinder();

            //BUSCO Y DEVUELVO LA LISTA DE ANIMALES
            return(f.pesajes(id));
        }
예제 #2
0
        public List <Int32> getAll()
        {
            //CREO FINDER
            AnimalFinder f = new AnimalFinder();

            //BUSCO Y DEVUELVO LA LISTA DE ANIMALES SIN PESAR
            return(f.todos());
        }
예제 #3
0
        public List <SACG_BLL.Animal> sinPesar(DateTime fecha)
        {
            //CREO FINDER
            AnimalFinder f = new AnimalFinder();

            //BUSCO Y DEVUELVO LA LISTA DE ANIMALES SIN PESAR
            return(f.reporteSinPesar(fecha));
        }
예제 #4
0
        public List <SACG_BLL.Animal> getAllByEst(long idEstablecimiento, string sexo)
        {
            AnimalFinder finder = new AnimalFinder();

            if (sexo == null)
            {
                return(finder.buscarAnimales(idEstablecimiento));
            }
            else
            {
                return(finder.buscarAnimales(idEstablecimiento, sexo));
            }
        }