public async Task <IActionResult> Create([Bind("IdShelter, Name, MaxPlaces, Places, IsOpen, PhoneNumber, Description, IdRegion")] Shelter shelter)
        {
            if (ModelState.IsValid)
            {
                await _shelterRepository.AddShelterAsync(shelter);

                return(RedirectToAction(nameof(Index)));
            }

            PopulateShelter(shelter.IdRegion);

            return(View(shelter));
        }