private void CreateAdopter(AdopterDto adopter)
        {
            var currentAdopters = _animalInfoRepository.GetAdopters();

            newAdopter = Mapper.Map <Adopter>(adopter);
            _animalInfoRepository.AddAdopter(newAdopter);

            if (_animalInfoRepository.Save())
            {
                newAdopterId = newAdopter.Id;
            }
        }
 public IActionResult GetAdopters()
 {
     return(Ok(_animalInfoRepository.GetAdopters()));
 }