public async Task <IActionResult> Index(Guid shelterId) { IEnumerable <Dog> dogs = await _dogRepo.GetAllByShelterId(shelterId); ViewBag.shelterId = shelterId; return(View(dogs)); }
public async Task <IActionResult> Index(Guid shelterId) { IEnumerable <Dog> dogs = await _dogRepo.GetAllByShelterId(shelterId); ViewBag.shelterId = shelterId; return(View(dogs)); }