Exemplo n.º 1
0
        public Ac4yServiceResponse Post(DummyClass dummy)
        {
            DummyResponse dummyResponse =
                new DummyMethods().DummyTwice(new DummyRequest()
            {
                Dummy = dummy
            });

            return(dummyResponse);
        }
Exemplo n.º 2
0
        public Ac4yServiceResponse GetParameter([FromQuery(Name = "dummy")] string dummy)
        {
            DummyResponse dummyResponse =
                new DummyMethods().DummyTwice(new DummyRequest()
            {
                Dummy = new DummyClass()
                {
                    Dummy = dummy
                }
            });

            return(dummyResponse);
        }
        static void Main()
        {
            string message = "Hello";

            DummyMethods.Test(message);
        }