Exemplo n.º 1
0
        //
        // GET: /RescueGroups/

        public ActionResult Index()
        {
            var animalHandler = new HuskyRescue.Core.Service.RescueGroups.AnimalHandler();
            var search        = animalHandler.PublicSearch();

            //var animal = animalHandler.GetProfile("5701512");

            return(View(search));
        }
Exemplo n.º 2
0
        public ActionResult Huskies()
        {
            _logger.Trace("/Adoption/Huskies (get) called");

            var animals        = new HuskyRescue.Core.ViewModel.Controllers.Adoption.Huskies();
            var animalsHandler = new HuskyRescue.Core.Service.RescueGroups.AnimalHandler();

            animals.Animals = animalsHandler.PublicSearch();

            return(View(animals));
        }