public IEnumerable <Wish> GetWishesByUserId(string userId) { IEnumerable <Wish> exists = _repo.GetWishesByUserId(userId); if (exists == null) { throw new Exception("Invalid Id"); } return(exists); }