Beispiel #1
0
        // 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));
        }