Exemple #1
0
        public NameResponse GetWish(int id)
        {
            NameResponse response = new NameResponse();

            try
            {
                Wish wish = wishServ.FindById(id);
                response.id   = wish.id;
                response.name = wish.name;
            }
            catch (Exception exception)
            {
                Console.WriteLine(exception.Message.ToString());
            }
            return(response);
        }