public ActionResult Editar(ClienteModel model)
 {
     try
     {
         using (CPMEntities datos = new CPMEntities())
         {
             datos.sp_EditarCliente(model.IdCliente, model.IdCiudad, model.Nombre, model.Contacto, model.Telefono, model.Correo, model.LimCredito, model.Descuento);
         }
         return(Redirect("~/Cliente/"));
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }