Example #1
0
        public List <Wish> WishUserList(int Id)
        {
            var user = _userRepository.FindByid(Id);

            if (user == null)
            {
                throw new Exception("Usuário não existe");
            }

            var list = _repository.WishUserList(Id);

            return(list);
        }