Example #1
0
        /// <summary>
        /// Retrieves all the animals
        /// </summary>
        /// <returns>All the animals</returns>
        public AnimalResponse GetAllAnimals()
        {
            AnimalResponse animalResponse = new AnimalResponse();
            List <Animal>  animals        = animalRepo.RetrieveAllAnimals();

            animalResponse.animalList = animals;
            return(animalResponse);
        }