Beispiel #1
0
        public async Task <ActionResult <Donor> > DeleteDonor(int id)
        {
            IQueryable <Donor> donor = (IQueryable <Donor>)_donorRepository.DeleteDonors(id);

            if (donor == null)
            {
                return(NotFound());
            }


            return(Ok(donor));
        }