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