// GET: Donors/Details/5 public async Task <IActionResult> Details(Guid id) { var donor = await _repository.GetByIdAsync(id); if (donor == null) { return(NotFound()); } return(View(donor)); }
// GET: Donors/Details/5 public async Task <IActionResult> Details(Guid id) { var donor = await _repository.GetByIdAsync(id); if (donor == null) { return(NotFound()); } return(View(donor)); }