public ActionResult Modificar(ServiceReference1.CountryModel model) { if (ModelState.IsValid) { ServiceReference1.country cc = new ServiceReference1.country(); cc.country1 = model.country; cc.country_id = short.Parse(model.country_id.ToString()); bool al = SC.ActualizarCountry(cc); if (al == true) { return(RedirectToAction("MostrarTodos")); } } return(View(model)); }