public ActionResult WCFTestPage(myString testStr) { TaskingSystem.Service1Client client = new TaskingSystem.Service1Client(); myString ms = new myString(); string text = testStr == null ? "null" : testStr.str; ms.str = client.GetData(text); ModelState.Clear(); return View(ms); }
public ActionResult WCFTestPage() { myString ms = new myString(); return View(ms); }