Пример #1
0
        public CircularResponse GetCircularResponse(CircularRequest request)
        {
            var response = new CircularResponse
            {
                Item = From(request.Item)
            };

            return(response);
        }
Пример #2
0
        public CircularResponse GetSelfReferentialResponse()
        {
            var item = new CircularResponseItem
            {
                Value = 99
            };

            item.Child = item;

            var response = new CircularResponse
            {
                Item = item
            };

            return(response);
        }