Ejemplo n.º 1
0
        public Puzzle GetPuzzle(Puzzle searchPuzzle)
        {
            _admin = new PuzzleEventAdminService.PuzzleEventAdminServiceClient();
            Puzzle lists = new Puzzle();

            try
            {
                lists = _admin.GetPuzzle(searchPuzzle);
                _admin.Close();
                return(lists);
            }
            catch (Exception ex)
            {
                _admin.CloseCatch(ex, "GetPuzzle 获取拼图列表失败");
                return(lists);
            }
        }