Beispiel #1
0
        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"));
        }