Пример #1
0
        public ActionResult Cong(string a, string b)
        {
            var    client = new ServiceReference1.WebService1SoapClient();
            string ketqua = Convert.ToString(client.Cong(float.Parse(a), float.Parse(b)));

            ViewBag.ketqua = ketqua;
            return(View("Index"));
        }
Пример #2
0
        public ActionResult Cong(float a, float b)
        {
            var client = new ServiceReference1.WebService1SoapClient();
            var ketqua = client.Cong(a, b);

            ViewBag.ketqua = Convert.ToString(ketqua);
            return(View("Index"));
        }