// GET: Individual/AnimalDirectory
        public ActionResult Index()
        {
            AnimalDirectoryModel model = new AnimalDirectoryModel();

            try
            {
                model.Animals = GetAllAnimals();
            }
            catch (Exception ex)
            {
                System.Diagnostics.Trace.TraceError(ex.ToString());
            }

            return View("AnimalDirectory", model);
        }
 public ActionResult SearchAnimalDirectory(AnimalDirectoryRequest request)
 {
     AnimalDirectoryModel model = new AnimalDirectoryModel();
     model.Animals = SearchAnimals(request);
     return PartialView("AnimalDirectoryGrid", model);
 }
 public ActionResult LoadAllAnimals()
 {
     AnimalDirectoryModel model = new AnimalDirectoryModel();
     model.Animals = GetAllAnimals();
     return View("AnimalDirectoryGrid", model);
 }