public async Task <ActionResult <Donor> > PostDonor(Donor donor) { _donorRepository.PostDonors(donor); return(CreatedAtAction("GetDonor", new { id = donor.Id }, donor)); }
public async Task <ActionResult <Donor> > PostDonor(Donor donor) { _donorRepository.PostDonors(donor); return(CreatedAtAction("GetDonor", new { id = donor.Id }, donor)); }