Пример #1
0
        public FooResponse GetFoo(FooRequest req)
        {
            var response = new FooResponse
            {
                SomeProperty      = req.SomeReqProperty,
                SomeOtherProperty = "someVal"
            };

            return(response);
        }
Пример #2
0
        public FooResponse GetFooWithTooManyArgs(int a, string str, float f)
        {
            var response = new FooResponse
            {
                SomeProperty      = a,
                SomeOtherProperty = "someVal"
            };

            return(response);
        }