Esempio n. 1
0
 public ActionResult InvokeTest()
 {
     localhost.HelloService oSVC = new localhost.HelloService();
     localhost.Test         o    = oSVC.ReturnTest();
     ViewData["one"] = o.A;
     ViewData["two"] = o.B;
     return(View());
 }
Esempio n. 2
0
 public ActionResult BuyNow()
 {
     localhost.HelloService x = new localhost.HelloService();
     x.MakeOrder("BOTTM", 3);
     return(View());
 }
Esempio n. 3
0
 public ActionResult Index(int a, int b)
 {
     localhost.HelloService oSVC = new localhost.HelloService();
     ViewData["message"] = oSVC.addTwoNumbers(a, b);
     return(View());
 }
Esempio n. 4
0
        //
        // GET: /WS/

        public ActionResult Index()
        {
            localhost.HelloService oSVC = new localhost.HelloService();
            ViewData["message"] = oSVC.HelloWorld();
            return(View());
        }