public async Task <IActionResult> getUserWishes(string userName) { var wishes = await _wishRepo.GetUserWishes(userName); if (wishes != null) { return(Ok(wishes)); } return(BadRequest("Problem with getting user wish")); }
public async Task <IActionResult> getUserWishes(string userName) { var wishes = await _wishRepo.GetUserWishes(userName); if (wishes != null) { return(Ok(wishes)); } return(BadRequest("Problem with getting user wish")); }