public ActionResult Index(PermisosModel model) { if (Session["User"] != null) { if (ModelState.IsValid) { Service1Client client = new Service1Client(); client.addPermiso(model.descripcion); client.Close(); } return View(); } else { return RedirectToAction("Login", "Home"); } }