public ActionResult Index(int tipo) { if (ModelState.IsValid) { if (tipo == null) { return RedirectToAction("Index"); } else { var service = new WebService.WebServiceSoapClient(); JavaScriptSerializer js = new JavaScriptSerializer(); var datos = js.Deserialize<List<Usuario>>(service.user_CargarUsuarios(tipo)); return View(datos); } } return View(); }