public async Task <IActionResult> EditGift(Gift gift) { var giftToReturn = await _repo.EditGift(gift); if (giftToReturn == null) { return(BadRequest()); } return(Ok(giftToReturn)); }
public async Task <IActionResult> EditGift(Gift gift) { var giftToReturn = await _repo.EditGift(gift); if (giftToReturn == null) { return(BadRequest()); } return(Ok(giftToReturn)); }